16,916 Topics
![]() | |
hello all, Ive been trying to figure out how to find the next empty row in an excel spreadsheet. My project is a VB project, written in Visual Studio 2010 Express. What i need to do is open the spreadsheet (that is predefined) and find the next available row. (in … | |
hi. would someone minf giving me a snippet of a code where a program searches for a specific character in a string? for example. if i have a label that contains a string "abcd" the program would check if the characters "b" and "d" exist in the string regardless of … | |
I have an application that can filter a datagridview based on date using a datetimepicker. The "date" column in my database is a datetime data type, hence it will contain a date and time stored within but there is some data which have only dates. My problem is my datetimepicker … | |
hi all pros, below is my vb6.0 code. the click command is to save my text and picture. there is no problem for my text. but, i have a problem after saving the picture. the picture can be saved but it is not availabe for preview. is there any fix … | |
I got this kind of error: Operation is not allowed when the object is closed. Private Sub cmdPrint_Click() Dim rs As New ADODB.Recordset Set rptRecord.DataSource = rs rptRecord.Show 1 End Sub | |
I have made an application to add monthly usages of coffee to a listbox using an array. I have a button which opens up an InputBox to enter the monthly usages. I then click a button to display the usages in a listbox. Howerver, I only want users to be … | |
Hey guys i'm new to visual basic and im trying to figure out where im going wrong. if you have any tip or a point in the right direction. i would be gratful thank you Public Class frmMain Public counter As Integer = 0 Public card1 As Integer Public card2 … | |
Hi..i want to **creat a autorun programme** to cd's which i am writing.so i want to creat that programme using **vb 6**. now i want to creat a command button when i click on it ***open a seperate window and browse the cd***..please help me to creat that.. | |
Hello there, Nowadays, I'm planning to develop a chat program (school project) and I need some help/advice. I did a little research and I have found a site with a sample program for chat building, it's called Ozeki VoIP SIP SDK. On this page, I found a good description of … | |
I want to create a Context menu in circle shape that consist of 8 pieces just like Pizza slice for reference : software 'bumpTop' also have same kind of menu. Can any one tell me ,How to make this type of customize context menu in c# or visual basic like … | |
I am using mysql server 2012 and visual studio 2012 C#, i created a database and i can read the data from my database. The problem is that i cannot insert data into my database. Although the return value of the execution is 1, i dont see any changes in … | |
Hi There, I hope somebody can help me, I work with Visual C++ 2008 with QT libraries I am trying to include a Interop.Encore.dll file into my program to access our ERP system business objects and post new data to the ERP We have a Visual Basic program geared to … | |
Hello, I got a bug from going on the keltec site - there's discussion but no solution that I've been able to find. I tried to post here before but I could not post or PM for some reason. Now posting is working so.... I've been working on this issue … | |
hey all, i wan't ask.. how make shortcut in form.., did i've to use keyup or keydown event ..??? i need some reference pliss... | |
I've an application build with C# and WPF, that is being developed by 3 developers, including me. On a certain stage of the application, an error came up that we can't determine how it happened and how to solve it, so we ask for your help. Although everything works well … | |
hey..how can i add combo box in listview? it will be depending on the records that will be displayed when i ran a query from mysql. any sample codes??thanks in advance. | |
'''''*****ListView(VB 6) Selected or checked Data Entry & Display Solutions full code*****'''' Option Explicit Public CN As ADODB.Connection ''General Declaration in Modules part'' Public RS As ADODB.Recordset ''General Declaration in Modules part'' Public Sub DBConn() ''Sub Procedure for Database in Modules part''' Set CN = New ADODB.Connection With CN If … | |
**How to Table Create in SQL Server 2000 Edition by OS: Windows 7** ============================================================ (1) Run Enterprise Manager as administrator preveliage. (2) Navigate (select) to a DataBase that you are working on. (3) Right click on any table in right side that already created in the system by default (Not … | |
Hey all.. i wan't make project with vb6 and database using mysql. did i've use mysql odbc connector ..??? i need some refrences.. Help me plizzz... | |
can you help me now i need sales and inventory system using data control and msflexgrid only.. | |
hi all ; i was reading n gettin help from this web site for a long time. i thought that it's time to register ! to keep my knowledge and develop it up. i am coding php n python. on middle level. n learning c#. which has the best IDE … | |
I am having a problem and that is I have buttons to read text to speech like play pause and stop I have created 4 buttons Play,Pause,Stop,Resume but now I dont want the Resume button, instead when I click on the pause button it should pause the speech and later … | |
All, Is it at all possible to have a 'multiple items' form based on a query, plus have a combo box added to it, with the control source of a field already on the form. Issues: 1. When the combo box is given the control source of a field already … | |
Hai, I am doing a registration system, and my system should have a report by using a bar/pie chart. How i want to create a bar chart with value generate from database. what component should i have to create those chart? im using visual studio 2008 and mysql query... Anyone … | |
Hai, I have 2 question to ask about vb.net. Now i'm using Visual Studio 2005 with connection MySql... 1. how if I want to passing the data from database to the textbox by SEARCH button. I Have 1 SEARCH button and 3 textbox [txtname],[txtage],[txtaddress] and to pass it also on … | |
Hi I am using jedi visual code libary with rad studio xe2. I have a question about using TJvImage. When i place an image on my form and add all the correct image states to JvImage1.Pictures if i disable the control and then test my project, the image is not … | |
hey source pal out there i need your help guys. im currently working on a project called Computerized Examination System and i dont know how can i get question from database and display it in a form randomly and generate a result in terms of the ff: - no. of … | |
![]() | I am not sure if this is possible, in VB is it possible to link to some piece of code in the current document? |
Will you please add a button to quickly copy code inside code tags to clipboard? I find it really annoying and inconvenient to use the mouse to highlight all the code inside code tags, it was a lot easier in the vBulletin version. | |
Have you ever needed to open a file with your VB program? Here's a way to easily do it. (code copied from an original program written by Mike B) If the program that uses the file is installed on your workstation, the file will be opened in that application. I … | |
I'm making a standard form calculator (e.g. 7 x 10^5) and I need help thinking of the best method to use. I basically need the program to take the number/input (say 70000) and then see what multiple of 10 it divides by to give a number between 1 and 9. … | |
Without the complete context to summarize: [CODE] #include "stdafx.h" #include <iostream> #include <fstream> #include <string> #include <stdio.h> #include <stdlib.h> #include <time.h> #include <objbase.h> using namespace std; BYTE* StringToGUID(LPOLESTR szBuf) { GUID *g = (GUID *) malloc( sizeof(GUID)); HRESULT h2 = CLSIDFromString(szBuf, g); return (BYTE*) g; } [/CODE] I Get: 1>Linking... … | |
I write as one just starting to learn to use Visual Studio 2008. Is there a version of SQL server built into Visual Studio 2008 Team Suite? I have heard of SQL Lite but do not know if a database app already exists within Visual Studio. Seeking guidance on how … | |
I am trying to compile NeHe code for win32 app in visual studio 2010. but this error appear: [CODE]cannot convert parameter 2 from 'const char [29]' to 'LPCWSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast[/CODE] to these instructions [ICODE] if (!wglMakeCurrent(NULL,NULL)) // Are … | |
Hello, I'm a real beginner and try to learn Visual Basic. I have to code a marking assistant as illustrated in the attached picture. I chose to use a listView to display the information typed by the user. I succeeded to display the information in three first columns, but I … | |
I am getting an access violation. Can anyone see why this might occur in the following code fragment from a GUID generator? [CODE] // here is a code fragment fro a GUID creation routine. // it is crashing with an Access violation #include <iostream> #include <fstream> #include <string> #include <stdio.h> … | |
![]() | Has anyone tried Visual Studio 11 Beta? I tried last time but it caused problems with Expression Blend so it was uninstall, Who has tried it, and is it jut like Visual Studio 2010? ![]() |
can anybody help me.i got an error while searching a rec from table error @ 2nd line after connecting with access [code] Dim src As Integer src = Val(InputBox("enter rno:", "rno")) Data1.Recordset.FindFirst "rno=" & src [/code] | |
Can anyone tell me how should i delete listview checked data using delete button. right now i got error object variable or with block variable not set. [code] Private Sub Command3_Click() Dim rs As ADODB.Recordset Set rs = New ADODB.Recordset Dim x As Integer For x = ListView1.ListItems.Count To 1 … | |
hello. currently i am doing a project and i am stuck with this compile error, can any1 help me with this? is there any cure for this compile error ? [URL="http://a2.sphotos.ak.fbcdn.net/hphotos-ak-snc7/304749_10150467265314408_808639407_11280088_80875314_n.jpg"]http://a2.sphotos.ak.fbcdn.net/hphotos-ak-snc7/304749_10150467265314408_808639407_11280088_80875314_n.jpg[/URL] thanks :) | |
hello guys, can any1 help with this error? i searh through all the website and i still cannot find a cure to it. i have a picture and this is a form_load of it [CODE]Private Sub Form_Load() Picture1.FillColor = Form1.BackColor Picture1.FillStyle = 0 prevX = 0 End Sub[/CODE] and a … | |
Hi everyone, I would like to merge few text documents into one, For example, i have 12 text documents in a folder, then needed to merge their text into one. 12 = 1. any help will be very appreciate, thanks in advance. if is not much to ask, if i … | |
Hi all. I am trying to build a Binary Linked Trie but fail in basic pointer operations.Following code can be built but in debug or run mode, it breaks and outputs the error. [ICODE]typedef struct node { char ch; node *next; }; struct node *root = NULL; void add(struct node … | |
ok what i am trying to do is i have two textboxs which have figues in them and need the 3rd textbox to display the figure the code i am using doesnt seem to be doing anything could anyone spot it and tell me why it is not working for … | |
what is the problem actually in my code?when debug ,it will crash or come out same data. [CODE]#include <stdio.h> #include <stdlib.h> #include <time.h> int main(void) { int col; int rand_question[3]; int confirm_question[3]; int i; int score=0; char choice; int max_question, total_question; max_question = 3; total_question = 3; srand(time(NULL)); /for(col=0 ; … | |
Hi, I'm planning to create a login window where I can enter a username and password in visual basic 6. In this window, there are also options to create and change password. Can you help on how to do this? And also, how will the passwords be protected from other … | |
Currently i am working and using a filter function for my search however i not sure how to do it using a query the sql statement is [CODE]cmd.CommandText = select * from tblcustomer where customerName like "'& textbox1.text &'"[/CODE] I no there is some bits missing but i am not … | |
I have mentioned the code for checker board made on visual studio .I dont know whats the problem with this code .. it just draw only one row of checker board on the drawing window :( help me //#include <windows.h> // use as needed for your system //#include <gl/Gl.h> #include<stdlib.h> … | |
I know how to search a text file for a specific line, but what I don't know is then how to delete that line? Can anyone help? My text file is set up as such: 021,Donovan,56 Eynesford Crescent,Bexley,SE5 1TR,09/08/1967,13 March 2012,Bronze 062,Fredrikson,6 Freil Road,Gravesend,GR9 TRB,12/06/1995,13 March 2012,Silver So I know … | |
Hello there guys! Need you expertise run time error: '91': Object Variable or with block variable not set. I got the syntax in Do while not .EOF statement. Thanks in advance! [CODE]Private Sub Form_Load() With adVideos.Recordset cmbCategory.Clear Dim i As Integer Dim st As String Dim b As Boolean cmbCategory.AddItem … |
The End.