Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. ralphtrent

    Is there software to create C# Solution reports?

    Utilizing Reflection, you may be able to develop most of this yourself, no? Not sure what you mean by related though.
  2. ralphtrent

    SQL Table not updating...

    I would start out by modifying the SQL query to hard code values to see if you have an issue with your sql and parameters. Hard code some values in your code and see if the record saves.
  3. ralphtrent

    WCF error, System.ServiceModel.CommunicationException the maximum message size quota

    in the client's app.config, try setting maxReceivedMessageSize to a higher value!
  4. ralphtrent

    Base class question

    Hello I have the following code public class LoggedEvent : Microsoft.Practices.EnterpriseLibrary.Logging.LogEntry { } this code is exposed over a WCF. public void LogEvent(LoggedEvent loggedEvent) { el.LogWriter elw =...
  5. ralphtrent

    .NET / SQL Server Connection Issue Win 7

    Maybe you can post some code to help us understand your connection. Also, what platform are you compiling to (any, x86 or x64)? Thanks, Ralph
  6. ralphtrent

    .NET / SQL Server Connection Issue Win 7

    if you are a local admin, then you should not need the admin password, but if you clicked "run as admin" and you are asked for the PW, then you may not be local admin. It may be worth asking an admin to enter his credentials just to get it out.
  7. ralphtrent

    .NET / SQL Server Connection Issue Win 7

    UAC is user access control. Its new in Vista. when the UCA level (Set in control panel\users\user access control) is set high, allot of things will not work as expected. But if you run the application as administrator (right click on applications icon and select "run as administrator") you may...
  8. ralphtrent

    .NET / SQL Server Connection Issue Win 7

    are you using SQL Server Authentication or Windows Security only? I know you said you can connect with AD Admin's but are you trying sql authentication also? I wonder if there is an issue with UAC. Can you run this application as administrator and see if that has any impact?
  9. ralphtrent

    .NET / SQL Server Connection Issue Win 7

    Can you connect from that same win 7 machine to that same db with other applications, like Sql Server Management Studio? Take you application out of play.
  10. ralphtrent

    Insert single quotes from web form into SQL database

    if you do something like this insert into table values ('John''s) you would get John's Since you are using input data you way need to write a wrapper that will replace any ' with ''
  11. ralphtrent

    Using the Excel Object

    for any Excel 2007 or greater file creation I use EPPlus. Its great and easy to your. here is a link to it: http://epplus.codeplex.com/
  12. ralphtrent

    Is there a c# equivalent version of the java applet?

    Not sure if it will do what you want, but you should look into Microsoft Silverlight
  13. ralphtrent

    Execute command line on remote computer with WMI

    Does the user the code will execute under have write permissions to that share? Can you log on to the machine as the same user and run the same command manually to see if you get an output file?
  14. ralphtrent

    2003 C#.net -> 2005 C#.net

    You should be able to open it. What type of file are you trying to open? .cs? .sln? .csproj? It may asked you to upgrade the project for VS 2005 to open it, but is should allow you to open it. (if so, just walk through the wizard) RalphTrent
  15. ralphtrent

    trying to use MySql.Data.MySqlClient on aspx page

    did you reference the MySql library in your project? If you are not using Visual Studio to create a project, is the library in the GAC (Global Assembly Cache) (%windir%\assembly)? Or somewhere in your site folder?
  16. ralphtrent

    dataGridView + architectural tips for beginner

    first you need to have getWzList return your data public DataTable getWzList(int month, int year) Then when you execute your query you need to store the data somewhere to return it DataTable ldtResults = new DataTable(); SqlDataAdapter lSqlAdap = new SqlDataAdapter(); try {...
  17. ralphtrent

    Extracting month from date using Linq

    try this: var query = from row in dt.AsEnumerable() where row.Field<DateTime>("Date_Column").Month.ToString().Equals(Month) ;
  18. ralphtrent

    Programming AExcel with C#

    If you are going to code for excel 2007 or greater, I would look at this open source project: http://epplus.codeplex.com/ I use it all the time and its pretty simple. You may think its easier to convert a vb.net app to c# but in this case, I would implement this new library. With this library...
  19. ralphtrent

    Tricky file rename in C#

    try this DirectoryInfo di = new DirectoryInfo(@"C:\files"); string lstrSearchPattern = "prtx010.prtx010.0199."; foreach (FileInfo fi in di.GetFiles(lstrSearchPattern+"*")) { string newName = fi.Name.Substring(lstrSearchPattern.Length, 6); fi.MoveTo(newName); } di = null;
  20. ralphtrent

    running service from command line

    It sounds like what you want to do svchost.exe will do for you but I do not see an easy way to hook your dll onto svchost, but i did come across article that may help you. http://social.msdn.microsoft.com/Forums/en-US/netfxbcl/thread/b38e755e-41d5-4dc3-a4ec-986d2a76209a/ Scroll to the bottom...

Part and Inventory Search

Back
Top