638 Posted Topics
Re: With only one filed, you only can add the text explaining the rule, IE: "Classes:1-9;Books:1;Weeks:1" "Classes:10-12;Books:2;Weeks:2" Here, I used the ; sign to separate concepts, I used the : sign to separate Identifiers from their values and used the - sign to separate the bounds. You can create the filed … | |
Re: Use an ImageList in your form. ( See [URL="http://msdn.microsoft.com/en-us/library/system.windows.forms.imagelist(v=VS.100).aspx"]here[/URL] to learn about ImageList class adn get examples. ) Then add to the image list, the images you want to show. Then, when a check box has changed, set the picturebox image to the desired image in the ImageList. Hope this … | |
Re: Is your printer configured as an standard printer using the spooler to be managed? If yes, is it the default printer? If not, you must select it as default printer before calling the Print(). Please see [URL="http://msdn.microsoft.com/en-us/library/system.drawing.printing.printersettings.printername.aspx"]here [/URL]how to define the printer to be used. Hope this helps | |
Re: Before Conn.Close, you need to do a [CODE]cmd.ExecuteNonQuery[/CODE] Hope this helps | |
Re: Also, the Found.0001 and Found.0002 are usually hidden folders created by check disk utility when some problems found on it. Mostly when the disk is on any kind of FATS formatted. I'll suggest to verify this point and change the format to NTFS using the CONVERT utility (see [URL="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/convert.mspx?mfr=true"]here [/URL]for … | |
Re: If you have a legal copy, send a copy of the invoice and the key you used during the installation to Microsoft, and claim. Usually, They will verify and contact you to give you another, valid, key. If your copy is not a legal one ... the worst is that … | |
Re: Add the image as new item in your project. Use the *.* filter to locate it, and insert. on your project, select the image prperties and change the build action to embedded resource. Hope this helps | |
Re: In [URL="http://support.microsoft.com/kb/217176"]this[/URL] howto from Microsoft there is a way to insert an OLE object into a rich text using VB. Maybe this helps | |
Re: You need a OracleDataReader. You can read [URL="http://msdn.microsoft.com/en-us/library/system.data.oracleclient.oracledatareader.aspx"]here [/URL]for howto and examples. Hope this help. | |
Re: I would suggest to move the lines [CODE] command.Parameters.Add("@ModelName", SqlDbType.VarChar, 50).Value = txtModel.Text; command.Parameters.Add("@ManufacturerName", SqlDbType.VarChar, 50).Value = txtManufacturer.Text; [/CODE] just before [CODE]int rows = command.ExecuteNonQuery();[/CODE] Hope this helps | |
Re: Wich parameter are you using lpApplicationName or lpCommandLine to launch the application? If you use the lpCommandLine, you can write some thing like "C:\Path\program.Exe >>Output.txt 2>&1" to find the stdout and the stderr in a file called Output.txt in the same folder. Yes, it is a little tricky. Please read … | |
Re: I will suggest to insert [CODE]sqlStatement = New SqlCommand()[/CODE] before [CODE]sqlStatement.CommandType = CommandType.StoredProcedure[/CODE] This will empty the previous contents if any. Hope this helps | |
Re: This depends on the networking rules applied. If VPN server( or router) only admits forwarding the RDP protocol to your machine, then you only can connect to your machine. You must ask to your network admin. (Obviously you can try the restricted services once the VPN is active. ;) but … | |
Re: Because teh getmac command it self has no way to filter the contents, I will suggest not to set the output to the same output file you are writing. Instead, you can send the output, in overryde mode (only one > sign), to another file name like 'tempmac.txt'. Then, using … | |
Re: I woud suggest to try a structure like [CODE]Public Struct Card Public [Image] as Image Public Value as Integer End Struct[/CODE] Then You define an array of Card [CODE]Dim Cards(51) as Card[/CODE] After that, to initialize you can [CODE]Cards(0).Image = My.Resources.twoc Cards(0).Value = 1 . . . Cards(51).Image = My.Resources.aced … | |
Re: Not for VB but for C# you can find [URL="http://www.codeproject.com/KB/directx/directxcapture.aspx"]here [/URL]some ideas. Or [URL="http://www.codeproject.com/KB/directx/DirXVidStrm.aspx"]there[/URL]. Hope this helps | |
Re: The easiest is to ask to your RFID provider for a SDK and some examples. Usually are not free. | |
Re: Not from my knowledge. The proces start determines if the target is an executable. If not tryes to search for the default program associated with the extension and launches it like if you double click on the file. If you want to interact with Excel, you'll need to use the … | |
Re: Just a few questions: 1) Did you defined the insert update and delete commands of your data adapter? 2) Wich is the currentrow value? Hope this helps | |
Re: Maybe you can use a tricky solution. Convert the values to be operated to the largest one, then operate and convert back to the original type. IE: [CODE]return Ctype(Ctype(_rollingTotal,Long)/Ctype(_Values.Count,Long),T)[/CODE] Be aware that when adding values, the result can be greater than the maximum allowed on the type being used. Also … | |
Re: I would suggest to create a new, temporary imagelist. Then, use the add function to insert the images from your image list until the point you want to insert/replace the old one. Add the new one from your pinture box to the new imagelist, skip one from the old if … | |
Re: Maybe [URL="http://www.techrepublic.com/article/datatable-offers-net-developers-a-resource-friendly-option/6032690"]this article[/URL] can help you to understant the data table object in Visual Studio. Hope this helps | |
Re: Did you tryed to join all the values in a string, then use it to fill the list view subitem? IE: [CODE]string thetextToShowInTheCell=""; foeach(string valueToshow in ListOfStringValuesToShowInTheCell){ if (thetextToShowInTheCell.Length>0) thetextToShowInTheCell+=", "; thetextToShowInTheCell += valueToshow; }[/CODE] Hope this helps | |
Re: Use the label1.Top property to set the new vertical position of the label according to the scroll bar value. Hope this helps | |
Re: Some times the thigs are easier, or not. In SQL you can use an external [URL="http://msdn.microsoft.com/en-us/library/aa276845(v=sql.80).aspx"]rowset using OpenDataSource[/URL] to obtain the data to be inserted into an existing table. Your SQL Sentence can be replaced by some thing like: sql = "INSERT INTO DestinationSQLTable SELECT * FROM OpenDataSource('Microsoft.Jet.OLEDB.4.0', 'Data Source=""" … | |
Re: In the stored procedure source, you can remove the line that drops the temp table. This is done automatically by SQL. When you say 'I try to import this sttored procedure' into VS2010 I do not understand what do you try. The stored procedures can't be imported into a DS. … | |
Re: The best way is to reset the LiveBox to the default values. Then you can see the default values in [URL="http://assistance.orange.fr/livebox-mini-interface-de-configuration-2628.php"]this [/URL]french page. Hope this helps | |
Re: Did you already visited [URL="http://helpcentral.componentone.com/nethelp/c1truedbgrid/default.htm?turl=truedbgridforwinformstutorials.htm"]this[/URL] site? | |
Re: Talking about SQL Tunning or SQL Optimization, your query is almost inadecuate because the comparasion values in the select subqueries are calculated once (with the first record) then used for the other records, resulting in null values. Your calculation involves counting or summing data from tables depending on the current … | |
Re: To create a custom control you need to add a new user control into your project. This user control can have a GUI that defines how is show in your form. You must add there textboxes, buttons, graphics, tabs or whatever you want in. Then you will need to define … | |
Re: Did you checked your disk for integrity? (CHKDSK /R) Probably youll need to run it whith Admin privileges. Then if the disk appears OK, try to repair the system from the original DVD. Hope this helps | |
Re: Maybe you can try some thing like this untested code: [CODE]Private Sub btnUpdate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnUpdate.Click ' ' Here declare a string to receive all the Ids returned ' Dim txtMessage as String = "" For i = 1 To DataGridViewIU68E.SelectedRows.Count ' ' If … | |
Re: I am curious on how did you tryed to secure the unsecured wireless. | |
Re: I would suggest to define a Splash screen. See [URL="http://www.codeproject.com/KB/cs/prettygoodsplashscreen.aspx"]here[/URL] as an example. Hope this helps | |
Re: My experience on Dell installation disks is that came with a hardware detection that does ot permits to install in a non Dell targeted computer. More over, normally only one version is in the recovery disk, according to the OS version brougth. Hope this helps | |
Re: When you use a trusted connection, this will mean that the computer and the user running the application should be trusted by the SQL server. Usually this can be accomplished putting the server, and the client computers in an Active Directory Domain, then loggin in the domain with a domain … | |
Re: This error happens when the index parameter is less than 0 or greater than the value of the Count property of the ListView.ListViewItemCollection. To avoid this problem, use the Add method to insert the item in the last position or use the index 0 to inset always int he first … | |
Re: According to your code, the mywaithandles(0) may have no handle info at all. I would suggest to sligly change your code to this untested example: [CODE]<MTAThread()> Public Sub file_search() Dim DD() As String = Directory.GetDirectories(Searcher_path) Dim mywaithandles() As AutoResetEvent = Nothing Dim currentHandleIdx as Integer = -1 For i As … | |
Re: I think tou missed to set the selected index to 0 for the cmbMainDepartment when the if strAdminAccess and strSystemAdminAccess are both true. Hope this helps | |
Re: I would suggest that for each existing item in the list, you show a new form in dialog mode to navigate to the web page. when the user closes this form, the calling will go to the next item in the list. Hope this helps | |
Re: From my experience, you will increase yours just working on the field. One way is to do a couple of projects for very low price (or even for free) then use them as a bright display for the new position. An MCSE and/or CNE will also increase your certified skill … | |
Re: Did you set the preview of keys in the form and catch the key events? Please, post your code here. | |
Re: Mostly you loosed the primary domain controler roles. I would recommend to deprecate this server to no Active Directory related role(stand alone). Remove all the machines from the domain. Restart the server to install the Active Directory as Primary Domain controller, adding all the necessary roles. Add all the machines … | |
Re: This behaviour is usual when multi-threading is done in the code. Multi-threading happens when using a timer, executing a backgroud worker, starting a thread, etc. The best way we can tray to help you is if you post your code here and some one can try to 'see' where the … | |
Re: I think you can add a "<BR>" literal after each value like response.Write(username.Text & "<BR>"); Hope this helps | |
Re: If you are using the second field in the row to fill the textbox then you can: [CODE]TextBox2_name.Text = DataGridView1.Rows.Item(2).ToString[/CODE] Hope this helps | |
Re: What happens is the bed number or roon numbers does no exists? The bid or rid will be not given the right value; thus, using them will rely on a null reference. Please test the returned value before using it. Hope this helps Hope this helps | |
Re: One way you can use the same database for both projects is using the same ODBC connection string to the database. Or you can use the MySql class for .NET to be downloaded and installed from [URL="http://www.mysql.com/"]http://www.mysql.com/[/URL], with the same connection strig. Hope this helps | |
Re: Just as a hint, for each row in your Excel sheet, you can write an insert statement like: [CODE]"IF NOT EXISTS (SELECT TOP 1 RegistrationNo FROM MyTable WHERE RegistrationNo = " & CurrentRowRegistrationNumber & ") INSERT INTO Mytable VALUES (..." [/CODE] And for the NULL value , just set the … | |
Re: I would suggest to create a class for the numbers structure and properties like: [CODE]Partial Class NumberAndProperties : IComparer { public readonly int Key; public readonly int Property1; public readonly int Property2, public readonly int Property3; void New(int key, int property1, int property2, int property3){ Key = key; Property1 = … |
The End.