- 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.
638 Posted Topics
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 | |
Re: As a general rule, when you think about tasks, you must think about isolated processes, having thier local data, connections, and results, all of them running asinchronously from the main thread, and avoiding possible collisions. Can you isolate the offending row inside the task? Hope this helps | |
Re: All the addresses starting with 10 are free. In fact, this range of addresses is used internally by big (or not so big) corporations to allow internal private networks, and go to the internet through a router having a poblic internet address. Some ISP use the 10.x.x.x to get fake … | |
Re: According to http://tools.ietf.org/html/rfc5321 and http://tools.ietf.org/html/rfc5322 you can distinguish between the from field in the message and the return-path field. You can 'mask' the sender, but the delivery status can be sent back by means of the return path. Anyway, a deep analysis of the message content allways will show the … | |
![]() | Re: See [this](http://www.daniweb.com/software-development/c/threads/446196/armstrong-number) thread ![]() |
![]() | Re: You already know that the unistall option is not officially supported by MS. Did you really want to uninstall W8 or just always start W7 instead? This second option is simple: In the Control panel of W8 -> System -> Start -> change the default boot option to W7. To … ![]() |
Re: As you are not showing us the template, nor the code to fill it, I can only give you a few hints: The blank page, exist on your template? If yes, then remove it from the template. Is generated due to some fields being filled with blanks? If yes, don't … | |
Re: Please, post your code for creating the text boxes array in VB and we will try to help you with some thing equivalent in C# | |
Re: Usually when you buy a PC, a bootable recovery disk exist, or can be created after the automatic installation process. If you have not it, you can ask to the manufacturer for a recovery disk and boot from it, then use the recovery option. In many cases, this happens if … | |
Re: And if you are using a windows OS, then the console command FC will do it, and also you ca redirect the output to a file using the standar output redirector. | |
Re: I'll try to enlight you a little bit. First, we can not say you why the application is writing the double back slash before the point if you do not put here the code that produces those results. Second, a drive letter probably can not be fixed unless you can … | |
Re: Wy the line 34 sentence? this will clear all the preceding content in the command and create an empty one, so executing an empty command will fail. Also, you are using the Parameters of the sqlcommand, but you do not defined any in the sql sentence. Please visit this page … | |
Re: There is no simple path to convert an aspx web project to a windows form one. As an starting point, I will propose the following steps: * Create a new CS windows form project. Let the form name as Form1. * Design de form to have the 'same' appareince than … | |
Re: Just because of int i = 0; on line 22. This sets the i value to zero on each loop iteration. To work as you expected this sentence should be on line 19 instead. Hope this helps | |
Re: If I unsertood well your issue, the sentence Request.QueryString["Id"] is returninng a null or empty string or a zero value. Please, verify what is the real content of the requested string. Hope this helps | |
Re: The SQL SET IDENTITY_INSERT must refer to a table, but in your code it refers to a column in the table. (see [here](http://msdn.microsoft.com/en-US/library/ms188059.aspx)) In your example, the sentence would be: SET IDENTITY_INSERT LOCATIONS_SETUP ON Just to comment that, in general, is not a good idea to insert specific values in … | |
Re: > Say I have a class that I want to use in multiple projects, what namespace do I give it? I would just create a separate project for this class, anc createa separate assembly (.dll) Then, on each project i'll need it, just adding a reference to the .dll is … | |
Re: Maybe because: A) the boot sector of the disk has been 'destroyed' B) the disk is not detected at all C) There is no disk with valid operating system bootstrap. D) the disk is 'broken' You can try to verify the disk for bad sectors in another PC installing it … | |
Re: See [here](http://msdn.microsoft.com/en-US/library/vstudio/8zha3xws(v=vs.110).aspx) (with example) Hope this helps | |
Re: The hypen is usually understood as a minus sign, so the parser tries to calculate INV minus PART minus NUMBER !!! The solution is to surround the field names between [ ] Ex: "SELECT [INV-PART-NUMBER], [INV-DESCRIPTION] FROM INVENTORY where [INV-PART-NUMBER] like " & search1 Hope this helps | |
Re: The first, post your code here and explain what is expected todo, what is not working (and where) and any message that can help us to help you |
The End.