638 Posted Topics
Re: Please read [url]http://www-01.ibm.com/support/docview.wss?uid=swg21178583[/url] Hope this helps | |
Re: You are using an obsolete deprecated method to retrieve the application settings. I would prefer to use [CODE]SqlConnection con = new SqlConnection(System.Properties.Settings.Default.radicalGuard);[/CODE] Hope this helps | |
Re: Maybe you need to verify the CPU / BIOS version with [url]http://www.intel.com/support/sp/processors/tools/frequencyid/[/url] On [url]http://support.microsoft.com/kb/842465[/url] you have a step by step on how to determine if the processor is the problem. Hope this helps | |
Re: Your data adapter Insert, Update and Delete commands had not been defined or are written wrong way. Please, can you be so kind to show us you data adapter definition and commands? Also show how you use them, if this is possible. TIA | |
Re: Please clarify 'but the program is not working'. If you run the application from the Visual Studio (F5), is it working fine? If yes, * Inside the application source folder, did you found any exe file? If yes, ** Is it located in a folder called bin? If yes, *** … | |
Re: You need to have almost to threads (or processes) to handle this situation 1) You'll need an interrup server for each source that will receive each interrupt and add the relevant info into a list. During the process of the interrupt you need to discard any other call to the … | |
Re: You can mark the server file as readonly. This will permit to be read by more than one client at a time. Another way: Copy the server file in to an application temp folder in the current user profile and launch it from local. The temp folder can be cleaned … | |
Re: Are you sure that the internal format of the dbf file is dBASE IV? There are many formats to manage depending on the utility used to create the dbf file(dBase, Clipper, etc.) Did you already tryed to import in an access database to verify if the format is valid? | |
Re: You can start [URL="http://www.yoda.arachsys.com/csharp/threads/"]here[/URL], [URL="http://www.albahari.com/threading/"]here (5 articles)[/URL] or[URL="http://www.codeproject.com/KB/threads/threadinginnet.aspx"]here[/URL] for basic concepts and examples. Hope this helps | |
Re: One esy way is to 'invert' the if like[CODE]protected void btnUpload_Click(object sender, EventArgs e) //upload file function { //Condition for fileupload if (!Uploader.HasFile) { //display error message lblUploadResult.Text = "Error!!!: Please Upload Something. <br />"; lblUploadResult.ForeColor = System.Drawing.Color.Red; Popuplate_DDL(); return; } if (!CheckFileType(Uploader.FileName)) { lblUploadResult.Text = "Error!!!: The file extentions … | |
Re: you can define a c# helper class holding all the public static variables, and having a ClassInitialize static method (mybe with parameters) to initialize all the static variable you'll need. This methol should be called fom the New procedure of the starting form or from the static void Main from … | |
Re: I try to isolate the data manipulation fom the application layer, so I write all the queries in SQL. Also I mainly use stored procedures for Insert, Update and Delete. This is specially useful when doing complex (multi table related) inserts, updates and deletes thinking in terms of transaction isolation. … | |
Re: Yopu can use a BackgrounWorker. See some example on how to [URL="http://msdn.microsoft.com/en-us/library/cc221403(v=vs.95).aspx"]here[/URL] Hope this helps | |
Re: Remove te offending cotrol from the Panel.Controls collection, or fully clear the panel.Controls before adding the new user control. Hope this helps | |
Re: When the user click on the button to search you must: 1) Open a connection to the database, if not already open. (you already written some piece of code on that) 2) Create a SELECT command to search the free dates. That will depend on your database design, if you … | |
Re: Can you be so kind to post the properties of the datefield in your database? TIA | |
Re: If I understood well, you need to create and ad hoc query on the VB application with a variable numer of conditions depending on some rules. I will suggest you to create a variale where clause like in the following example: [CODE]Dim strQuery as String = "SELECT * FROM table … | |
Re: The primary key fields should not be updated. IE: if you have an orderid = 23 is not a good practice to change it to 24 in the table orders and expect that all the related records on the processes tables will change automatically to the new key value. Anyway, … | |
Re: Did you create an msi for publishing? | |
Re: Cam you post the Db structure and the profile form as far you have defined them? TIA | |
Re: When you say [QUOTE]but am unable to read the file[/QUOTE] do you mean that the sent mail message has a reference to an attachement that can't be opened? If so, be sure that in [CODE] Attachment attch = new Attachment(sFileName);[/CODE] sFileName contains a valid file full path (Ie: "C:\some_folder\some_File.txt") and … | |
Re: With pleasure. But how can we help you? | |
Re: Can you post your written code here? TIA | |
Re: Just some hints: 1) Compare the creation date of the executable file to the current one. 2) Create an entry in the rgistry with he installation date an chage the permission to this key to r3ead only. 3) Use a property setting in your application to be filled if empty … | |
Re: As AppExamSchedule is autoincrement, you should create a transaction that, first inserts the values in the AppExamSchedule, then selects the highest Id in this table and uses the returned value to insert in the AppInfo table before commiting the transaction. Hope this helps | |
Re: The best way is to create the queries/views in access and test them. Then use the access queries/views as a data table in a data set, and fill them using a data adapter with 'SELECT * FROM MyAccessQuesryOrView' Hope this help | |
Re: A stored procedure handling all necessary variables is a god solution to isolate he problem of inserting from your application. Hope this helps | |
Re: Maybe you already tried [CODE] For Each iArr as Array In m_alTabell [/CODE] This will create a 'new' iArr at each element in m_alTabell Hope this helps | |
Re: Set the Visible to false for the plain text. Then, when the entered key is OK. set the property to true. Hope this helps | |
Re: I can only see that the problem will be on the _objState. Is the ed.getStates returnin duplicates? Hope this helps | |
Re: After BringToFront you need to set the Focus on that form. Hope this helps | |
Re: Assumming you have an open connection called PostgreSqLConnection to the server, you need to pass it as the second parameter, not the connection string.[CODE]SqlCommand command = new SqlCommand(insertString, PostgreSqLConnection)[/CODE] But... In your insertString you have an insert sentence AND a select, so the command will return data. You are lying … | |
Re: Using an "INSERT INTO LinkerTable VALUES (IdFromTable1, IdFromTable2)" sentence to execute an SQLCommand against the database. In your example, this linktable relates one ticket for one call. The assumption is that one Ticket can have many(m) calls and also a call can refer to many(n) tickets. In this case, you … | |
Re: Just guessing if an OTXTrackRecord in C# has the same signature than a TrackRecord in C++ | |
Re: You can start [URL="http://msdn.microsoft.com/en-us/library/9bbdkx3k(v=VS.85).aspx"]here[/URL] to learn about scripting Hope this helps | |
Re: The FK population from issues to issuesdesc is not automatic, even you define a relation. This info is on ly used in to select info, update existing info or delete related records, but, unfortunatelly, not for insert. In order to solve your problem you need, first to do the insert … | |
Re: Many thinks can happen: 1) the cable has been softly broken so, depending on the cable position teh link is broken 2) the port on the computer lan card is configured to a distinct rate, protocol, recovery errors, or any of a lot of parameters possible, than the port on … | |
Re: Do you want to save the file inside the SQL server? or do you want to open the file, read the first sheet and copy the content to an existing table in a SQL server database? Please can you be so kind to clarify? Thanks in advance | |
Re: On [url]http://code.msdn.microsoft.com/[/url] you can find a lot of code examples. Hope this helps | |
Re: There is a limit of memory by system [url]http://msdn.microsoft.com/en-us/library/aa366778(v=vs.85).aspx[/url], and a limit by process [url]http://www.oreillynet.com/windows/blog/2006/03/overcoming_the_windows_2gb_cac.html[/url] or [url]http://forum.sysinternals.com/process-memory-limit_topic143_post303.html[/url] Maybe you need another approach. | |
Re: Use the System.Data.OLEDB namespace to create an OLEDB connection to the access database, then use the OLEDBCommand to SELECT, UPDATE, DELETE OR INSERT deata into the access. Hope this helps | |
Re: Because a sound is some thing really complex, a byte can not hold enough info tho start playing a sound and stop waiting for the next byte. If you send one byte at each call to the PlaySound, you will hear nothing or pure noise, or even can crash. Please … | |
Re: Loop on a for each list view item on the list view, create an oledb command to insert the text of the list view subitem 0 (first column) into the underlaying table in the oledb database. Hope this helps | |
Re: If a data table is the data source for the first combo, the selected item is a data row of the source data table. Is another data table is the source for the second combo, to change the contents of second combo box, you need to set the data source … | |
Re: Try this [B]CampNotes = N'" & rtbCampNotes.Rtf.Replace("'","''") &[/B] The Rtf property contains the source for formatting the text. The Replace ("'","''") will prevent SQL injection if any "'" exists in the text. Hope this helps. | |
Re: look [URL="http://msdn.microsoft.com/en-us/library/h2b185t2.aspx"]here[/URL] | |
Re: Can you be so kind to put here the SQL text of your query? |
The End.