16,916 Topics
![]() | |
1: I have to create an application that will dynamically add a menu strip with menu items to a form(ie NOT dragged and dropped onto the form) in Visual Basic. The menu strip should be created in the Form_Load event handler. I have to use a TextBox for user input. … | |
After build and debug my program, i want to publish it, and after is installed in my compiuter, i want the program will have the icon that i want to use, not by default. Like any other program, i want my program will have to an icon. Please help me … | |
After build and debug my program, i want to publish it, and after is installed in my compiuter, i want the program will have the icon that i want to use, not by default. Like any other program, i want my program will have to an icon. Please help me … | |
i want to upload a local file to server ( eg. 0catch.com). i use following code ( and INET component on form) Inet1.Execute , "PUT c:\a.txt /a.txt" But this only creates empty file on server and not the contents. so how to achieve upload without external software or increased complexity. | |
i am using employee table to test if i am doing the whole program correct. I have 5 buttons. one is to add records and another to save(commit), to update, to delete and to clear. I am having trouble with the code to save the record to the data set. … | |
Hi, Please help, I don't know how to use arabic language in text box or label(caption) in VB6. I try to change language but the sign "?????" appears in text box. Please help me. TQ. | |
Hello, I am trying to build a pos and inventory system in vb 6.0 with MS-Access database. I do not have much experties in vb 6. Ok here is the question now, I have a frmcashsale in my system which have a MSHFlexgrid called grid, I have managed the codes … | |
is there any code in vb6 were i can say it is fifo(fisrt in first) for ex. i have 1 product but it has 3 different date issue and date of expiration how can i determine which one that i am going to out !is there any code for that? | |
Hi to all, I have a problem with ASP.NET in Visual Studio. I made a page that is organised as a table (one part for links, one for content...). How can I select button that is nested in table (in table cell) in Visual Studio in a design view.? Always … | |
I'm coding in visual studio. i have a problem in ConfigureSerialPort function. #include <windows.h> #include <stdio.h> #include <string.h> HANDLE hPort; BOOL WriteByte(BYTE bybyte) { DWORD iBytesWritten=0; DWORD iBytesToRead = 1; if(WriteFile(hPort,(LPCVOID) &bybyte,iBytesToRead,&iBytesWritten,NULL)==0) return FALSE; else return TRUE; } BOOL WriteString(const void *instring, int length) { int index; BYTE *inbyte = … | |
my visual basic showing error on spacesplit and sslstream... how to handle? | |
Hi Dw I'm glad to find one active VB forum for the old VB I used to get the solutions in .NET and I'm also a .NET developer but had got a problem the computer that I'm creating this application for is using old Windows OS such as XP and … | |
hi everyone im doing small vbproject that must auto generate id using the current date format in vb.net-(VISUAL STUDIO 2012) with Ms access database. When the button1 click the autonumber should be displayed in text. And when it save, it should be saved in the database access. The id number … | |
Dear friends pl help me I want to select data from a data base table Tran with two selection criteria one is number and the other one is text When i use one criteria it works well But i am failed to use the two criteria my code is here … | |
Hey Everyone, I'm stuck... I've got a 1-dimensional array from a text file that is displaying in a list box. I have buttons to sort ascending and descending but cannot seem to get them to work. My code for the array is Dim name() As String = IO.File.ReadAllLines("Countries.txt") lstCountries.Items.AddRange(name) This … | |
Is there any option which i can activate when using ECLIPSE so that when i m typing S... for String or i.. for int etc... to automaticly give me suggestions that i want a int if the first letter is i or i want a String if the first letter … | |
'Hi all. I'm trying to create an application that computes the average monthly 'rainfall, number of months with above average rainfall, and the number of with 'below average rainfall, given the rainfall amounts for each month in a year. 'is what I have so far. Sub Main() Dim sngRainfall() As … | |
I have a 2 textbox 1 text box is empty . text2 is multine true second text box have some words. text2 text Example : "12345 is my number and 03451234567ddddsfsa somethingis wrong034512345find 03451234567" .............. i want to find 03451234567 11digit number in text box with first 3 or 4 … | |
Hi everyone.. Can I ask for any help, we have a project, a mini traffic light using LED lights. I dont have the idea on how we will work on this using VB6.. Help me pleeeaase ^-^ | |
I like to know how to add the no at the each new line before starting. I know how to count total lines. but I am lacking some knowledge on how I can Add new line number before New line and also the selected line get background colour different then … | |
Hi, I am new to VB.NET and I manage to create an add-on to help my disable girl look up things. The small issue i am having is getting the add-on to run automatically without me or her clicking on the button. I was wondering how can I make the … | |
Hello everyone, I'm writing up a new application that instead of using microsoft as a server, I'm using a linux server with a database in it. The database was setup, the tables were set up, and access was granted in mysql. The issue I'm having is that I keep getting … | |
Sorry in advance if this is the wrong place for this, it's the closest I could find. I need to create a macro for an Excel 2010 spreadsheet so that the active cell will cycle through three choices: "Y", "N" or "" - the last being simply an empty string … | |
Private Sub Command1_Click() Select Case Me.Text1.Text Case 1 MsgBox ("U Entered 1") Case 2 MsgBox ("U entered 2") Case 3 MsgBox ("u entered 3") Case Default MsgBox ("Default") End Select End Sub When i enter 4 in textbox1, Msgbox is not displayed.....Default is a valid case or not in VB | |
I recently installed Microsoft Visual Studio 2010 on my computer. I wrote a C++ program and I can't find any Build/Compile/Run options in Visual Studio 2010. Please, any one can tell me how can I compile C++ programs in MS Visual Studio 2010. | |
can't show non-modal form when a modal form is displayed | |
Hi I just recently started learning about using the windows form application for C++. I am using Visual Studio 2010 and I have came across this problem. For instance, I am trying to read and write to a text file. Many guides suggest using StreamWriter^ and using namespace System::IO; to … | |
I'm new to this topic..!! Please help me out.. I have learned about Visual Basic during my High school but now there is a new topic which i'm interested & that is VB.net..!! Could you please tell me that is there any difference between them or are these two languages … | |
I am trying to add the History page in my application which will work like as i shown below: 1st Column: (Date); 2nd column: (Login Time); 3rd Column: (Logout Time) I added the following code: Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load … | |
I’ve been looking for the answer to this problem for around 2 hours while working on other code. It seems like my answer should be listed in the MSDN because of its simplicity but I cant find it anywhere. And my problem is thus: I have this VB6 program that … | |
Apart from a few small programs written for fun several years ago, it is about 15 years since I wrote any software. However, I have had some visual images in my head for many years, so I am going to write software to bring them into reality, so I can … | |
I have a Retail Management System software that write with vb6. I want to join this software with display stand 9600 N 8 1. tell me how to connect plz. what need? | |
hi good am, i just want to know how to make a simple anti virus using visual basic 6.0, i just want to ask the code for scan delete to detect a virus to automatic play the anti virus program thank you | |
Hi basically I have been trying to set up the irrlicht engine with Visual Studio 2010 and after adding in the inlcude and library file paths it seems as though Visual Studio no longer recognises "stdafx.h" as a valid precompiler?? I know this has something to do with not being … | |
I'm playing around on how to get last name in the string. Below is my current code and it is working. I want to know if there is another way to do it. strMsg = "John Doe" length = Len(strMsg) For i = 0 To length char = Right(strMsg, i … | |
I am trying to create an application using VBA that will create a QR Code based off of some text that has both numbers and letters. I believe that I have been succesful in encoding the proposed data using the Alphanumeric mode of 2Q. I am trying to base this … | |
Hi, Im having a hard time figuring this maybe a simple query. This is my first time to use sql compact edition. How can I query a select statement inside a select statement which tables are not related at all. What i need to accomplish is to insert a logo … | |
The company I am working for is trying to rebuild a simple program that views and/or modifies tables using sql. We want this to be a web app. We already have a working desktop app built in Visual Basic 6. Now we are copying the code over to Xojo. The … | |
I am new to using datagridviews and wanted to know how to populate certain fields. I have created a form and added a datagridview (named GridSellProducts) with Visual Studio designer and added 8 columns with the first named Item. I have also changed the column type for Item to DataGridViewComboBoxColumn … | |
I wrote a few applications using Visual Studio 2010 and i was saving them in different folders but all of them are saved on my desktop and now i want to combine them and i'm failing..please can you help me or give me instructions on how to do it. Thank … | |
Hi every boddy Big problem here. I don't know if from access or vb.net I program in Visual Basic inside Visual Studio 2010 I have Access 2002 dbase with the first field caled ID_no : autonumber and primarykey and it is a "LONG INTEGER" I can not change because it … | |
I will create a special program to display the report. Here I use the Crytal Report to support it, report issued later it was also through the process of calculation, because the report is a report INCOME / turnover of my company, after I retrieve data from a database, I … | |
I have a code where if some buttons are selected its showing in a message box which was selected, but if no button was selected I want to show a message in the message box. Here is the code, please make me understand, I tried by my own but its … | |
I have a text file that I open and attempt to read the individual lines. I have used the same code before on other files with no problem, but for some reason, this particular file is strange. When I do the following command; Line Input #1, read_string the string read_string … | |
Hello, Excuse me. I have been using vb 6.0 for more than one year.But now i want to use vb.net. i have setup of visual studio(2010) in my computer but yet i have not installed it on my pc. please tell me that how it will help me in working … | |
Hi, I'm going to send a byte to the .dll to retrieve machine information. Right now I'm using the string to pass the value to CBMReader and I able to retrieve the value. Dim Devc as String Dim CBMReader as String For i = 0 To 50 If tempDev = … | |
Hello, i would like to allow the user to press Retry button from msgbox only 3 times. I just don't succedd to do it, here is my code if anybody can help me? Private Sub cmdValid_Click() Dim Response As Integer If txtPassword.Text = txtPassword.Tag Then MsgBox "You've passed security!", vbOKOnly … | |
I have been working on this code (school assignment) for a few days now. It seems to be almost finished, but I am not sure what's going on. When I run it in an online complier, it displays correctly, which is supposed to look something like this "12345" "1234500000" However, … | |
I'm a new member. I earned a master's degree in math from the University of Kansas back in '89. I taught math for several years, as I transitioned into IT work. I've been full-time as a software developer in industry since late '93. For the past ten years, I've been … | |
hi I have create VS project using C#, I am using Crystal Report when i run project using VS 2010 The Crystal report work very well, but when i create setup from project and run the project after download setup the crystal report does not open, - Although i am … |
The End.