638 Posted Topics
Re: Do you tryed some thing so far? Did you created a project with a form? In this form , do you added the labels, and the corresponding text boxes to enter the data needed? Also, do you added a response label and textbox? And a button to start the calculation? … | |
Re: Which is the expected content of the file to be? | |
Re: I suppouse you already visited [URL="http://vanet.info/"]vanet.info[/URL] and the [URL="http://en.wikipedia.org/wiki/Vehicular_ad-hoc_network"]wiki[/URL] | |
Re: Just my cent. Be aware, that when creating a new workbook, the default configuration to create 3 sheets can be changed by the user to any number between 1 and 255 so is a good practice to verify the current number of sheets before referencing a sheet by index. Hope … | |
Re: How many fileToolStripMenuItem_Click have you? Probably you have almost the standard one (fileToolStripMenuItem_Click) and the one exibited here(fileToolStripMenuItem_Click_1 created after you deleted) Please, go to the form designer and verify wich one is the delegate for the event click of the fileToolStripMenuItem. Hope this helps | |
![]() | Re: Just my cent. If you only will provide a gui for the application, you can add a form that will be the gui for it. The form must contain the necessary info an controls to be able to call the right methods or functions you already defined. Usually, on the … ![]() |
Re: I will comment a few points: 1) You need to validate that the userMsg is a valid number between 3 (because is the minimal value acceptable for 3 random integers starting at 1) and the Integer.MaxValue. If it is not, you must launch a message and exit the sub. 2) … | |
Re: I will suggest to repair the Xp installation from the original CD. It seems that some relevant files had been removed or damaged. Hope this helps | |
Re: As this is a project for a tesis, i will suggest the following: Tables on both databases must have a global unique identifier field and also a synchro time field, and a row status (syncronized, updated, inserted or deleted). In order to optimize the access to this info this can … | |
Re: The rror code returned should be 0 or non 0? In the first piece of code you ask for non 0 (line 40), while in the second you ask for 0 (line 38). Also on the first piece of code you miss to call the SysytemParametersInfo. Hope this helps | |
Re: Can you be so kind to post what you coded so far? | |
Re: What is the database structure? and what code had you written so far? | |
Re: Do you have a backup of your machine? Wich OS, version and patch level are you using? In the control panel folder options, did you checked all the show options and unchecked the hide ones? Did you searched for Protect in all the machine? Let us know | |
Re: If each time you call this button, you set the text value to 0, the old value is lost. I would suggest to remove the line [CODE]TextBox8.Text = 0.0[/CODE] from there and move it in an outer initializer sub. Hope this helps | |
Re: Find info [URL="http://advancedpcadvisor.com/fix-exefiles/mavinst.exe-error_622626.html"]here[/URL] Usually this is located under %WINDIR%\System32 folder. If found elsewhere, then probably is a virus. I'll suggest to run a full disc scan booting from a clean OS. Hope this helps | |
Re: Also you can modify slightly your code to not include the short lines like:[CODE]Dim FILE_NAME As String = "C:\Users\Owner\Documents\test.txt" Dim TextLine As String If System.IO.File.Exists(FILE_NAME) = True Then Dim objReader As New System.IO.StreamReader(FILE_NAME) Do While objReader.Peek() <> -1 ' ' Red a line ' Dim CurLine as String = objReader.ReadLine().Trim() … | |
Re: You can find some examples [URL="http://msdn.microsoft.com/en-us/library/system.net.ftpwebrequest.aspx"]here[/URL] Hope this helps | |
Re: A 2 dimension array means that all the items, in both dimensions, must be of the same type. If the columns in the datatable are not of the same type, this can not be implemented. While the solution from Oxiegen uses ArrayLists, and is a very good solution for unknown … | |
Re: Setting the controls private will not permit external access to them. If you want to make their properties read only to external, then create properties in your control exposing the internals. | |
Re: If your is not a SSD and If there is a phisical error on disk, like a depression or surge, you can reformat it, but each time the disk header goes over the wrong area, it expands the problem. Usually, if W7 was preinstalled, you should have a partition with … | |
Re: To close a form use the Close() method of the form to close. To open a form, you must first instantiate the form, then use the Show() or ShowDialog() method of the form to 'open' it. If you need futher help, please post your code. Hope this helps | |
Re: Did you already installed the SQL Server Management Studio in the target computer? | |
Re: If you right clich on an empty part or your screen, there is a context menú with a View submenú, that holds an option to 'align to the grid'. Please, verify if it is checked or not. Hope this helps | |
Re: If you work with the selected rows, only those selected are used. Try changing the loop to [CODE]For Each dgvRow As DataGridViewRow In dgvAccesList.Rows [/CODE] Hope this helps | |
Re: Did you refresh the dgExperience after assigning the data source? [CODE]dgExperience.Refresh[/CODE] Also the [CODE]dgExperience.Rows.Clear [/CODE]before assigning the new data source, can help. Hope this helps | |
Re: A lot of possibilities: 1) The MS firewall is active and is blocking ftp connections. 2) The Anti-virus firewall is active and blocking ftp connections. 3) The ftp connection is using active mode, but passive is required. 4) The ftp connection is using passive mode but active is required. 5) … | |
Re: I've seen this behaviour if almost one of the registry files has gone over a "defective" track in the disk, or, if you have a RAID disk (2, 5, or whatelse) one of the disk is failing an gets a lot of time to sync with the other(s). I would … | |
Re: [URL="http://tools.codes-sources.com/DotNetCodeConverter.aspx"]Here [/URL]is a VB -> C# or viceversa converter This is the result: [CODE]public interface IPlugin { void Initialize(IHost Host); string Name { get; } double Calculate(int int1, int int2); } public interface IHost { void ShowFeedback(string strFeedback); } public class Class1 : PluginSample.Interfaces.IPlugin { private PluginSample.Interfaces.IHost objHost; public void … | |
Re: The problem is that the get method returns itself. You should change it to return the InternetConnectionState:[CODE] [DllImport("wininet.dll")] private extern static bool InternetGetConnectedState(out int desc, int reserved); public bool InternetConnection { get { int desc; // By default is initialized to 0. return InternetGetConnectedState(out desc, 0); } }[/CODE]Hope this helps | |
Re: Do not fix the form size. Set the window state to Maximized. Use a unique panel to fill the form. If the form size is less than expected, you can fix the panel to the desired size (+ scroll-bars size if needed). Put all your controls inside the panel. Hope … | |
Re: I can't tell you wy, but is very simple the how. For example, you send some one a mail from your account. This people forwards your email address to the spammer without cleanig it, so your email account appears in the body. The spammer uses your account in the FROM … | |
Re: Mostly, if you get the IP 0.0.0.0 is because is fixed somewhere. Maybe you can try to go to the Local Area connection properties, uncheck all protocols except Client for Microsoft Networks, File an Printer Sharing for Microsoft Networs and Internet protocol Version 4 (TCP/IPv4). Then select the TCP/IPv4 and … | |
Re: The very firs question is to know why is this happening. I you have a virus, trojan, or any other malware, you must clean-up your computer first. Is not guranteed that upgrading Norton will 'repair' your issue, but is guaranteed that if you still not updated, is easy to get … | |
Re: Usually, when this happens, is because the connection to the server failed. Depending on the type of account or connector there are several actions: 1) If the connetcor is an Outlook Hotmail Connector, is known that the very first connection to the server after a large period of inactivity can … | |
Re: The most common situation is assumming that the field is a string field, but is not. Please, verify in the DB definition the field type, and use the apropiate get. If you are unsure, using the GetValue(shtCntr).ToString (instead of Getstring(chtCntr))will try to get the field value, and then convert it … | |
Re: You must understand that the class Q2 has 2 parts 1) The static part is shared between al the instances of the class 2) The non static part, is owned exclusively by the instance In this class, the static part is represented by the [ICODE]private static int num[/ICODE] initialized by … | |
Re: The MySQL Enterprise edition supoports replication based on row changes or on statements. Instead of commiting the same change 3 times, you only will need to do the change in the local db and will be replicated on the central ones automatically. You can visit the [url]http://www.mysql.com/[/url] for more info … | |
Re: [QUOTE]ciphertext = Encrypt(txtEmailPass.Text)[/QUOTE] Wich encrypt function are you using? Is written by your self? or is some of the predefined System.Security.Cryptography? Which one? Did you already read [URL="http://msdn.microsoft.com/en-us/library/ms172831.aspx"]this[/URL]? Let us know | |
Re: You shoud find information about the version in: System.Windows.Forms.Application.ProductVersion. If you need to phisically read the information from the AssemblyInfo file, you can use any standard text file procedure to read it and find the AssembyVersion. Hope this helps | |
Re: Go to the child form properties, select the textbox and change his modifier to Public. This will make you textbox visible from the parent form. Then on the parent form, use the childform.textbox.text to show the message. Hope this helps | |
Re: I will suggest to do the following to read the line: [CODE]if (sr.Peek() > -1) { lblhighscore.Text = sr.ReadLine(); }[/CODE] This will test if there is some thing to read before launhing the read line function. Hope this helps | |
Re: Can you show here the router configuration? | |
Re: I would suggest to use the SelectedIndex istead of SelectedValue. Also I will rewrite the CheckBox1_CheckedChange sub to some thing like:[CODE]Private Sub CheckBox1_CheckedChanged(sender As System.Object, e As System.EventArgs) Handles CheckBox1.CheckedChanged lblStreetName2.Visible = False cboStreetName2.Visible = False lblStreetNumber.Visible = False txtStreetNumber2.Visible = False If CheckBox1.Checked = True Then Me.Cursor = Cursors.WaitCursor … | |
Re: Did you already tryed [CODE]sqlcon = New SqlCeConnection("Data Source=stuDB.sdf")[/CODE] By default, to open the data base will use the standard search path, wich in the first place, is the path where the executable is placed. Hope this helps | |
Re: As the System.Windows.Forms.LinkLabelLinkClickedEventArgs contains the LinkLabel.Link you can use it to do your work. Yu'll need only one Sub like: [CODE] Private Sub LinkClicked(ByVal sender As System.Object, ByVal e As System.Windows.Forms.LinkLabelLinkClickedEventArgs) Listbox1.Items.Add(e.Link.Text) variable = e.Link.Text End Sub[/CODE] Then, on the click event of each link label defined, change it to … | |
Re: Just the 192,168.x.x are class C free net addresses to be used in the intranet. No ISP can sell them. Usually, the ISP sells you an IP address range, with a certain number of valid addresses in it, by means of a mask. Any way, the IP you bough will … | |
Re: You must enable only one timer at a time. Timer1 to go up. Timer2 to go down. When any Timer reaches the destination floor, it shoud be self disabled. On both timers you check for floor 4. IMO you should chek if the current floor is the destination or greater … | |
Re: Did you used the SQL Server Configutration Manager on the server and verifyed the Protocols? Usually you need to enable TCP/IP and Named Pipes (Shared Memory is by default). Also, in the client, you need to enable them and set the order to Shared Memory, TCP/IP and Named Pipes. Please … | |
Re: For the .NET hash read [URL="http://msdn.microsoft.com/en-us/library/system.collections.hashtable(v=VS.100).aspx"]here[/URL] For your own hash read [URL="http://en.wikipedia.org/wiki/Hash_table"]there[/URL] Hope this helps | |
Re: I would suggest to use a instrument interface that defines the common priperties for each and every intrument like the NumberOfNotes, the AvailableNotesToPlay, the TunedStatus and the PlayingStatus. Then you can create as many instruments you need by defining they use this interface. VS will provide you the help to … |
The End.