- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 4
- Posts with Upvotes
- 4
- Upvoting Members
- 4
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
- Interests
- Gaming, Programming
- PC Specs
- Win 7, i 7 Processor, 8 GB RAM
52 Posted Topics
Re: Some problem loading your form. Try opening the form (frmName.frm) in notepad and delete the picture box declaration. You can do this by "Find". Now try to open it in VB6 IDE. Make sure you have a copy of the form as Backup before doing this. | |
Re: Ill go with Mitja Bonca. Don't open your Home Screen on Login form's button click event. Make the login form to return the login status and check, do appropriate actions(whether to open the home screen or to give user an error message) in the Main function. that's what Bonca's code … | |
Re: There are so many bio metric devices available. It is better to ask the manufacturer for the APK that could be incorporated into your code. | |
Re: Are you missing any part of the codes....? Or any typo error in your code that the pasted sample doesn't have? | |
Re: Can you describe your idea with little more explanation?????????? | |
Hi, I have developed an ASP site. I have a function to check the session's validity. I check whether the ReferrerURL is null and redirect to a session expired page if it is null. It works fine for all pages. But after a file download ( using the response.TransmitFile ) … ![]() | |
Re: What is the first form of your project? Is it an MDI parent? | |
Re: Try DoEvents before the Label Caption assignment | |
Re: What database are you using? MS Access? If "MS Access" where have you kept it....? Place it in a shared path and remove the read only attribute. | |
Re: Try the following code by pasting it in the Class. include System.Windows.Forms in class file public void InsertLabel(MainForm form) { Label labelControl = new Label(); //Set the text labelControl.Text = "New Label"; //Set the location of the label labelControl.Top = 100; labelControl.Left = 100; labelControl.Visible = true; form.Controls.Add(labelControl); } Use … | |
Re: Are you trying to 1. open an installed browser with your URL? or 2. create a C# application with a browser embedded that would open the URL when loaded? If you are trying point 1, the following code would help System.Diagnostics.Process.Start("Your Web URL here"); System.Diagnostics.Process.Start("Your Web URL here"); And for … | |
Re: Disable all your buttons and show the login form again. Its almost like restarting your application. Starting your application with new user credentials. | |
Re: Its like accessing databases. Just a different connection string. Check [this](http://www.daniweb.com/software-development/visual-basic-4-5-6/threads/51162/reading-excel-data-using-vb-6.0). In excel each sheet is considered as table. | |
Re: How you say that the record is deleted? can you pls post the SELECT procedure too? | |
Re: Possibilities for the errors lie in the following lines 35, 37, 38, 39 The Convert.ToInt32 can convert strings like "1", "2" etc. It throws an exception if you try to convert a string like "two", "three", "happy" or even an empty string "" Likewise the Convert.ToDateTime can only convert strings … | |
Re: private void Add_Click(object sender, EventArgs e) { dt = room.displaydata(); //Get the datatable from the Database //Filter the datatable to check whether the room is already booked //An existence in the data table means the specific room is booked //I assume the field name is room_no DataRow[] filteredRows = dt.Select("room_no=" … | |
Re: I don know what are you doing till the user gets a "Game Over" Are you summing up the points? If so when the user gets a "Game Over" or the user's 5 "go"s are over. 1. Just display the user's points in a message box. 2. Disable the generator … | |
Re: Does the root account exist in your local host MySQL server? Does the root account exist without a password? for 1 & 2 try to login to mysql with the username as root and empty string '' as password If you could login with the given credentials Try giving a … | |
Re: // Initialize a new textbox TextBox txt = new TextBox(); // Set the dimension and location txt.Top = 10; txt.Left = 10; txt.Width = 100; txt.Height = 25; // Set the visibility and add it to the form txt.Visible = true; this.Controls.Add(txt); For saving.... Save all the controls with their … | |
Re: You can either use an **Outlook object in VB** or use the **winsock object**. The winsock concept might be li'l confusing. But it doesn't need Outlook to be installed on your system whereas option 1 needs outlook to be installed in the client system. If you still choose winsock, do … | |
Re: Do you need this same XML to be exported to HTML? or you need an automation routine to convert any XML ( like the one you specified ) to HTML table? For the first criteria. ( Steps are for MS Excel 2007 ) 1) Import the xml file to Microsoft … | |
Re: Set visibility = true before the function Binding_SaleOrderInfoRelated Set thr progress bar's max property to orders.Count increment the progress bar's value property by 1 at the end of each iteration foreach (var o in orders) { . . . progressBar.Value++; } Set visibility = false after the function Binding_SaleOrderInfoRelated Hope … | |
Re: Hi, Came across the thread. Maybe there is a solution. Simple calculator without any conditional statements (switch or if). Try this. Might be big for a beginner ( yet its simple ). The project can be downloaded [here](http://swdevl.blogspot.in/2012/08/simple-calculator-without-conditional.html). Concept used: **Function call by name** using System; using System.Collections.Generic; using System.ComponentModel; … | |
Re: normal code would do it. just run your exe as an administrator after building. The exe can access the text file. | |
Re: It is valid until no other service uses it. Write a simple client program to check whether its workin | |
Re: The field name "VALUE" is a keyword in access that produces the error. Use [VALUE] instead of VALUE in the field part i.e.) OleDbCommand cmmd = new OleDbCommand("INSERT INTO Firearm (SERIAL, MANU, MODEL, CALIBER, [VALUE], DESCRIP) " + "VALUES (@SERIAL, @MANU, @MODEL, @CALIBER, @VALUE,@DESCRIP)", conn); FYI If you get an … | |
Re: What error you got? pls post the error .... | |
Re: Yes it is possible. Try `GetAsyncKeyState` API function. Check this [project](https://www.box.com/s/436b62b37b2614cb1248). Its in c#. You can use it though. | |
Re: Change the output statement to Console.WriteLine("The sum is: " + numberTotal); or Console.WriteLine("The sum is: {0}", numberTotal); Hope this helps | |
Re: Private Function GetMonths(ByVal dtFrom As DateTime, ByVal dtTo As DateTime) As Integer Dim dtDiff As TimeSpan Dim nTotalMonths As Integer dtDiff = dtTo - dtFrom nTotalMonths = dtDiff.TotalDays / 30 ' We take 30 for a month GetMonths = nTotalMonths End Function Hope this helps | |
Re: ***You can always prefer Java over C++.*** When it comes to compare Java and C#..... Java and C# are both good languages to learn. Both are similar to C but are ***object oriented*** ( You would have learnt in C++ ) C# with .NET framework gives you an excellent environment … | |
Re: Firstly, please share whether you are interested in learning things or do some project that would satisfy your faculty [ for your grades ]. If I were you I would have done **For grades** Go for any record maintenance system [ use file handling or DB ] **For learning** Don't … | |
Re: Open any child form and call the function ZOrder. This will get the child form in front of other forms When you have the child forms in front, you will automatically have you parent form at back. | |
Re: Check for WMI Functions. Can be done in VB6 to certain extent. | |
Hi Friends, I have created a small C# program to "SendKeys" to the active application. I use it to automate the cheat code typing for games. I have assigned cheats to some keys in the keyboard. Problem is the `SendKeys.Send()` works with notepad (i've tested) but not working with GTA … | |
Re: Try WMI...... | |
Re: If you are using a stand-alone application you can always keep the database in your application path (where the exe resides). What makes you to change the database location often? Include or create the database in the application path. Never hardcode any path in your code ("D:\AF_Software\DB\DBAF1.mdb"). Use relative path … | |
Re: You need to show some initiative towards your goal. Refer the link http://swdevl.blogspot.in/2012/01/word-game.html Check the project provided. It might help you develop the project.... | |
Re: For a user rich application environment create a WPF project. You can use Expression Blend for designing. | |
Re: Check whether u hv referenced the excel object to your project. Also check for the xlUp value at runtime. The error doesn have anything to do with VB. It is triggered from the excel mod..... | |
Re: "***Either BOF or EOF is True Or the current ...***" occurs when you try to access a recordset's data after it has reached it's last record (cos no record exists after the last record) (or) the recordset doesn't have any data. Wrap your code with the ***if ... End If*** … | |
Re: 'I lost touch with VB6 'If the code has any errors do notify Dim arrayValues(ARRAY_LENGTH) As Integer 'Hope u fill the arrayValues Dim iter As Integer 'Iterator Dim biggestNumber As Integer 'Temporary Variable biggestNumber = arrayValues(0) For iter = 1 To UBound(arrayValues) - 1 If arrayValues(iter) > biggestNumber Then biggestNumber … | |
Re: What if the SQL Server is hosted on a remote system? This code is for local system I hope..... tnx. | |
Re: I think TCP/IP cannot be used in this context. Try COM port controls. | |
Re: You may read the file char by char and increment a counter if the symbol '*' is encountered Or read all the lines and store in a string and then use any string operation to do the same Can't post any codes as I don't have any "hands - on" … | |
Re: I would prefer that you have a static class with a static variable of type string. A static class needs no implementation. public static class Common { public static string UserName; } and for calling use Common.UserName = ComboBox1.Text; | |
Re: I'm sorry that I cannot help you technically coz i just lost touch with C# but I could give some ideas logically. Single server (i mean the clones too with same port) may not fit in this situation. "Multiple servers" concept would fit in this situation well. Use a centralized … | |
Re: The data needs to be manipulated(for any reason) needs to have a uniform format to have the job done. Im sure the length of the chapter wont be the same with bookname like I Judges or I Chronicles etc. Ill give you a format, kindly check your text and tell … | |
Re: What is the DataType of CrystalReport0? Is that a control added at design time? Just try to right click on the word "Connect" and click definition. If you get a message box showing "Identifier under cursor not recognized.", then the function is not a member of CrystalReport0. | |
Re: The error produced is showin that you have just typed [I]csc[/I] in DOS prompt. A csc command can only be typed when the DOS prompt is opened in the C# directory. Try executing the csc with the full path of it preceding it. The command may be something like this … |
The End.