Posts
 
Reputation
Joined
Last Seen
Ranked #228
Strength to Increase Rep
+11
Strength to Decrease Rep
-2
92% Quality Score
Upvotes Received
99
Posts with Upvotes
91
Upvoting Members
60
Downvotes Received
8
Posts with Downvotes
7
Downvoting Members
8
28 Commented Posts
10 Endorsements
Ranked #180
Ranked #108
~225.39K People Reached
About Me

40 years in computer science

PC Specs
OS Windows (why not) and many others. LAN design and security. Software architect since 1976.
Favorite Tags

638 Posted Topics

Member Avatar for unearthed13

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 …

Member Avatar for jiiinaguipo
0
439
Member Avatar for Clocker

After [CODE]Dim con As New ADODB.Connection[/CODE]Where do you add the connection string and issue the open method?

Member Avatar for chilaka2
0
5K
Member Avatar for Hawk123
Member Avatar for සශික

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 …

Member Avatar for lolafuertes
0
632
Member Avatar for mldardy

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 …

Member Avatar for lolafuertes
0
347
Member Avatar for ajinkya112

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 …

Member Avatar for mohammed_35
-2
4K
Member Avatar for lielee

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

Member Avatar for mars12345
0
2K
Member Avatar for psalm1975

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

Member Avatar for abonito1
0
587
Member Avatar for riyamanavalan@g

You can start reading [this](http://msdn.microsoft.com/en-us/library/92f9ye3s(v=vs.110).aspx)

Member Avatar for Majida_Omari
0
175
Member Avatar for lithium112

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 …

Member Avatar for lithium112
0
262
Member Avatar for valdis1

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}} …

Member Avatar for Dragan_2
0
683
Member Avatar for obwor.richardnyeko

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)

Member Avatar for chrismas.albert
0
116
Member Avatar for CSharpUser

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 …

Member Avatar for lolafuertes
0
288
Member Avatar for suneye

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 …

Member Avatar for fabiodbmacedo
0
1K
Member Avatar for ManthanB

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 …

Member Avatar for aliasgar.babat.1
0
269
Member Avatar for bluehangook629

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

Member Avatar for sraguero
0
223
Member Avatar for driazi

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

Member Avatar for driazi
0
381
Member Avatar for kamilacbe

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

Member Avatar for kamilacbe
0
229
Member Avatar for kothaisaravan

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

Member Avatar for anthonydaly
0
386
Member Avatar for S.M. Murad Hasan

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 }; …

Member Avatar for lolafuertes
0
403
Member Avatar for bhagawatshinde

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

Member Avatar for pandey.k.vivek
0
316
Member Avatar for HBovenkamp
Member Avatar for lolafuertes
0
164
Member Avatar for Franze

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

Member Avatar for Ketsuekiame
0
225
Member Avatar for josh2006k

If you already solved it, please post here the solution for others to learn., and mark as solved. Tx in advance.

Member Avatar for lolafuertes
0
169
Member Avatar for fuhanspujisaputra

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 …

Member Avatar for lolafuertes
0
146
Member Avatar for Ahmed.C

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 …

Member Avatar for Ahmed.C
0
156
Member Avatar for castajiz_2

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 …

Member Avatar for lolafuertes
0
289
Member Avatar for bguyb
Member Avatar for Fangling
Member Avatar for camillemimi

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

Member Avatar for Alvin_1
0
2K
Member Avatar for yssirhc

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

Member Avatar for lolafuertes
0
212
Member Avatar for Tim_2

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 …

Member Avatar for zilgroup
0
170
Member Avatar for renzlo

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 …

Member Avatar for lolafuertes
0
214
Member Avatar for Rahul47

See [this](http://www.daniweb.com/software-development/c/threads/446196/armstrong-number) thread

Member Avatar for Rahul47
-1
199
Member Avatar for Rahul47

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 …

Member Avatar for Rahul47
0
184
Member Avatar for fredw300

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 …

Member Avatar for lolafuertes
0
274
Member Avatar for Abel21

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#

Member Avatar for Abel21
0
198
Member Avatar for VanessaGisel

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 …

Member Avatar for lolafuertes
0
283
Member Avatar for rje7

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.

Member Avatar for rje7
0
160
Member Avatar for cisumma

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 …

Member Avatar for cisumma
0
344
Member Avatar for Timaa

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 …

Member Avatar for lolafuertes
0
146
Member Avatar for minnie19

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 …

Member Avatar for lolafuertes
0
913
Member Avatar for CodyOebel

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

Member Avatar for lolafuertes
0
190
Member Avatar for Anonymous3

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

Member Avatar for Anonymous3
0
228
Member Avatar for Papa_Don

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 …

Member Avatar for Papa_Don
0
214
Member Avatar for WDrago

> 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 …

Member Avatar for Ketsuekiame
0
205
Member Avatar for Gizzle72

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 …

Member Avatar for ali_fr
0
266
Member Avatar for jaejoong

See [here](http://msdn.microsoft.com/en-US/library/vstudio/8zha3xws(v=vs.110).aspx) (with example) Hope this helps

Member Avatar for jaejoong
0
245
Member Avatar for Papa_Don

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

Member Avatar for Papa_Don
0
149
Member Avatar for jontennyeah

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

Member Avatar for lolafuertes
0
67

The End.