- Strength to Increase Rep
- +11
- Strength to Decrease Rep
- -2
- Upvotes Received
- 99
- Posts with Upvotes
- 91
- Upvoting Members
- 60
- Downvotes Received
- 8
- Posts with Downvotes
- 7
- Downvoting Members
- 8
40 years in computer science
- PC Specs
- OS Windows (why not) and many others. LAN design and security. Software architect since 1976.
Re: I would suggest the following to accomplish your desire: 1) Enable the key preview in the form 2) Capture the key press event on the combobox and there a) Add the key value (character) to a filter string. Monitor for special characters like cursor movements, delete, back, etc. b) Refill … | |
Re: After [CODE]Dim con As New ADODB.Connection[/CODE]Where do you add the connection string and issue the open method? | |
Re: Thanks for the info. I assume you can close this threat. | |
| Re: I my opinion, the problem arises when you try to use a byte array to fill a parameter without specifying the parameter type because the default costructor may decide thet the longblob is equivalent to longtext and then translate to string. please see [this](http://stackoverflow.com/questions/9999751/difference-between-parameters-add-and-parameters-addwithvalue) discussion about when to use the … |
Re: First, the `if (reader.HasRows)` will always return true, because even no record exist for `OracleCommand("SELECT COUNT(*) FROM CONTRACT_INFO WHERE (rid = @rid)", con);` the `Count(*)` will return 0; At this point, if the returned value is 0, then is OK to insert, if the returned value is >0 will be … | |
Re: Please, can you clarify what do you mean with 'repeated records'? a) Allways show the same records at every refresh of the datagrid b) All the rows shown have the same values c) At every refresh, the data grid increases the number of rows, and the content of the new … | |
Re: On Access you must define the fields as Yes/No Then [CODE]dsnewrow.Item("Urgent") = checkBoxUrgent.Checked dsnewrow.Item("Option1") = radioButton1.Checked[/CODE] Hope this helps | |
Re: I would change [CODE]Dim drivePath As String = String.Concat("\\.\" & letter & ":")[/CODE]to[CODE]Dim drivePath As String = String.Concat(letter & ":")[/CODE] or use the CreateFileW instead with [CODE]Dim drivePath As String = String.Concat("\\?\" & letter & ":")[/CODE] Hope this helps | |
Re: You can start reading [this](http://msdn.microsoft.com/en-us/library/92f9ye3s(v=vs.110).aspx) | |
| Re: Maybe [this article](http://stackoverflow.com/questions/22477128/difference-between-process-virtual-machine-with-system-virtual-machine) can help to understand the differences between process (or application) virtual machine, system virtual machine and host virtual machine. Probably in your local machine the cobol process runs in the same process/host virtual machine than the form while in your system virtual machine is running in distinct … |
Re: This is a problem that can be solved using recursivity. This can be an example on how to: [CODE] Dim NumberToLetter As Char(,) = {{"A"c, "B"c, "C"c}, {"D"c, "E"c, "F"c}, _ {"G"c, "H"c, "I"c}, {"J"c, "K"c, "L"c}, {"M"c, "N"c, "O"c}, _ {"P"c, "R"c, "S"c}, {"T"c, "U"c, "V"c}, {"W"c, "X"c, "Y"c}} … | |
Re: A quick seach result in [this link](https://www.google.com/url?q=https://www.daniweb.com/hardware-and-software/networking/threads/280933/limited-or-no-connectivity-unable-to-contact-your-dhcp-server-request-timed-out&sa=U&ei=Q2agVIniMOy67gb5-4HwDg&ved=0CAwQFjAD&client=internal-uds-cse&usg=AFQjCNF1csEFuxEB6-ZonQ-3qa93jr9vNQ) | |
Re: This behaviour is due to the fact that the form methods are executed inside the same thread, so no invoke is required. The invoke will be required if the form is executed ina distinct thread than the method caller. IE. Windows form application. The FormMain has a timer to show … | |
Re: I sounds taht at each frame, you open and close the writer, overwritting the content. I woudl move the > AVIWriter writer = new AVIWriter("DivX"); to the private variables definition before the > public Form1() then i'll move // create new AVI file and open it writer.Open("test1.avi", 640, 480); to … | |
Re: Just a free solution. Inside a Windows Active Directory Domain, you can set a Group Policy to stablish the user level rules for remote control, being able to see what is doing the users, even without user permission. Anyway, the practice to 'supervise' what the user is doing, without his/her … | |
Re: You can find a howto and example [URL="http://www.codeproject.com/KB/combobox/multicolumncombo.aspx"]here[/URL]. Another [URL="http://www.codeproject.com/KB/cpp/multicolumncombo.aspx"]there[/URL]. Hope this helps | |
Re: You should add a reference in your project to the assemby from framework entitled as System.ComponentModel.DataAnnotations. Usually this is done automatically by the nuget package manager if you select to add the EntityFramework from nuget.org to your project Hope this helps | |
Re: I am not sure what the check is doing, but, IMO, you need to define the program a a single insatance running, and check at the beginning if another instance is running then shutdown the current one. I would suggest [this](http://stackoverflow.com/questions/3190209/detecting-if-another-instance-of-the-application-is-already-running) article for that purpose. Hope this helps | |
Re: Please read this [link](http://msdn.microsoft.com/en-us/library/system.io.fileinfo.moveto(v=vs.110).aspx) for how to move a file. To do that, you need to have the rights to acces the server. Please read [this](http://technet.microsoft.com/en-us/library/cc770880.aspx). Hope this helkps | |
Re: To launch the c/java from c#, assuming is an exe file, or the file extension has a 'open with' configured on your system, you can use some thing like var fileToLaunch = "SomeFilePathHere"; var process = new Process(); process.StartInfo = new ProcessStartInfo() { UseShellExecute = true, FileName = fileToOpen }; … | |
Re: Just guessing if the richtextbox is empty the very first time. If is empty, just add an space and select it before enabling the equation editor. Hope this helps | |
Re: Maybe [this](http://msdn.microsoft.com/en-us/library/ff462091.aspx) example can enlight you | |
Re: Anyway, have in mind the info of [this](http://www.windowsnetworking.com/articles-tutorials/windows-2003/Windows-Server-2003-Performance-Tuning.html) article to monitor the system performance even is related to W2003, is still valid for all the versions of server and also client after NT 4. Hope this helps | |
Re: If you already solved it, please post here the solution for others to learn., and mark as solved. Tx in advance. | |
Re: Just a few hints. In order to update a database you do not need to issue a select clause first. So, I will remove all the code related to the commandSelect string in the UpdateQuantity procedure. Also note that the UPDATE command, will update all the records that match the … | |
Re: In order to use a mix of icons and other kind of columns, the listview view proerti should be set to List or Details. The List shows an icon with a label. The Details can show the icon (and label) in the left-most column. For further info click [here](http://msdn.microsoft.com/en-us/library/system.windows.forms.view.aspx) Hope … | |
Re: Just my cent. Additional to the excelent info from ddanbe, here after a couple of links: Windows forms coordinates on MSDN ([here](http://msdn.microsoft.com/en-us/library/ms229598.aspx)) Coordinates systems on Wikipedia ([here](http://en.wikipedia.org/wiki/Coordinates)) Only to say that the values to define a [drawing point](http://msdn.microsoft.com/en-us/library/system.drawing.point.aspx) in a screen are always in positive values referred to the top-most/left-most … | |
Re: What kind of software are you using to create the bootstrapper? | |
Re: What is the original content of dt3? | |
Re: Is the listview view property set to Details? If this property is not set to details, no columns can be shown. Please see [URL="http://msdn.microsoft.com/en-us/library/system.windows.forms.listview.view.aspx"]here[/URL] for help Hope this helps |