16,916 Topics
![]() | |
Hi all, i want to open a file with this code [code] Dim linetext As String Private Sub Command1_Click() CommonDialog1.Filter = "Text Files(*.txt) | *.txt" CommonDialog1.ShowOpen If CommonDialog1.FileName <> "" Then Open CommonDialog1.FileName For Input As #1 Do Input #1, linetext Text1.Text = Text1.Text &linetext Loop Until EOF(1) End If … | |
hi i'm designing a management system using visual studio 2008 and i'm using a local database(.sdf). i'm kinda new at vb.net and from wat i've read, i need to design a dataset that connects to the database. i defined my tables in the dataset and the.sdf database, my problem is … | |
Hi Everyone. I am busy building a VB 6 APP that will access a MS Access database. For the sake of this problem I will abreviate the DB. It has two tables. the main table has 6 bound text boxes to a data control. They work fine on there own. … | |
can anybody tell me how should i fill supplier name .in a list view using collection.here is the code what i have written.any help would be highly app reciated. [code=vb] Private Sub Command1_Click() Dim Item As ListItem Dim supp As Supplier 'object for class Set supp = New Supplier Set … | |
I'm trying to write a code that will allow for items to be displayed and when two are selected those two will be displayed in a different list box as a "receipt". If I'm not mistaken the code and everything is correct, but for some reason the items are not … | |
Sir, can you please Give us a VB code for our cmdDelete button? a code that will delete a data from the database (ms access).. our form looks like this >>> [url]http://img229.imageshack.us/img229/7583/image002p.jpg[/url] or [ATTACH]10893[/ATTACH] we used the "listview" for displaying the searched item/s and be deleted... note: search and add … | |
Hi everyone! i'm here again with another problem... this time i need to get a total from a field called "cantidad" (quantity) on the database... is there a way to get it with the recordset? or do i have to make another thing? Here is the code where i get … | |
Hi all, i'm newbie in vb, and i wanna learn a lot from u guys, i try to run this code, [code] Dim linetext As String Private Sub open_Click() CommonDialog1.Filter = "Text files{*.txt)|*.txt" CommonDialog1.ShowOpen If CommonDialog1.FileName <> "" Then Open CommonDialog1.FileName For Input As #1 Do Input #1, linetext Text1.Text … | |
Hi, I am developing a webapplication in Visual Studio-2008(AsP.net/C#). I am trying to integrate my webapplication with webservice.The webservice is such that it will put all my request in asynchronous mode. My webapplication, I am sending a mail with Cc and Bcc fields, for the body of my mail I … | |
![]() | Hiya, Just curious as to what scripting tool you may use for creating vbscripts. Just curious...I do most of mine using a text editor, but I'd be willing to check out other resources. Anyone have any recommendations? |
Hi I need the code in [COLOR="Red"]VB6[/COLOR] to display data from a database in a listbox i tried the following code but its not working Do While Not rec2.EOF List1.ItemData(List6.NewIndex) = rec2.Fields(4) rec2.MoveNext ' i even tried Do While Not rec2.EOF List1.ItemData rec2.Fields(4) rec2.MoveNext | |
Hey Guys/Girls I'm creating a C++ application. So far I have created 2 projects, under one solution. The first is a native win32 project and the other is a DLL. Now my problem. How do I include this DLL I create, in my win32 application? So far I have tried: … | |
Hi to all, Am studyng Biometric Fingerprint and i already have a hardware Finger Key Hamster by NITGEN. The problem is i dont know how to code that on VB6... Is their anyone can tell me how it works? does anyone have code for the SDK's Like enBSP SDK,FSIM SDK … | |
when i press cancel button.it still prints.Kindly let me know .any help would be Highly appreciated.here is the following code what i have written. [code=vb] Private Sub btPrint_Click() Dim frm As IspecialForm Set frm = Me.ActiveForm frm.GetTextBoxInvisible frm.Refresh 'CommonDialog1.Flags = cdlPDReturnDC + cdlPDNoPageNums CommonDialog1.Action = 5 CommonDialog1.PrinterDefault = True CommonDialog1.CancelError … | |
Hi friend i use this code to connect via vb6 a mysql database in local. Is possible to connect other pc with the same code on the dsn on original pc where reside the dsn? Tks for all and sorry for my bad english i'm italian. Sub uno() Dim conn … | |
how to delete a particular record in all the tables? i am not sure wat r the tables as i wil create them at run time i am maintaining an attendance for employees. a table wil be added for every month and when i delete a employee, his record should … | |
how to find the number of fields and their names in ms access using vb6? i am using dao database. | |
I am trying this: [code=c++] #include <windows.h> #include <windowsx.h> #include <d3d9.h> #pragma comment (lib, "d3d9.lib") LPDIRECT3D9 d3d; LPDIRECT3DDEVICE9 d3ddev; void initD3D(HWND hWnd); void render_frame(void); void cleanD3D(void); LRESULT CALLBACK WindowProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam); int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { HWND hWnd; WNDCLASSEX … | |
Hi all, I am having problem with openCV: I am using Microsoft Studio 2008 From this lnk: [URL="http://sourceforge.net/projects/opencvlibrary/"]http://sourceforge.net/projects/opencvlibrary/[/URL] I downloaded the [U]OpenCV_1.1pre1a.exe[/U] for windows and installed it. I have been searching ways to include the libraries installed but the instructions don't seem to match my VS version? So after creating … | |
[code=cplusplus] #include<iostream> using std::cout; using std::cin; using std::endl; #include<conio.h> class Mouse { public: void move(); void turn(); }; void Mouse::move() { char ch; int length; int width; switch (ch) { case '1': cout<<"To move forward"; for(int y;y==length;y--) break; case'2': for(int x;x<width;x++) break; case'3': for(int x;x>0;x--) break; } } void Mouse::turn() … | |
hi,im doing a Mobile Banking System for my project. how is it possible for me to use arrays as my data. n viewing it | |
Don't you love when Visual Studio severely crashes? I really hate those moments because I am always afraid that if it is a problem of VS and not a problem in my code, I am in trouble... Some time ago I explained The strange case of Visual Studio 2008 severely … | |
Hi, I am building a web application in c#using visual studio 2008. I want to embed a calendar in a combobox, so that when combobox is clicked a calendar will pop up and user will be able to select a date. | |
Hi everybody, I have used one textbox to accept date say ([B]dt.text[/B]) in which during form load two forwardslash will appear to accept [B]DD/MM/YYYY [/B]type date. Now when I click a [COLOR="Red"]Save[/COLOR] command box and if the [B]dt.text [/B]box is [U]not[/U] filled up with date OR say it has only … | |
Hi, i have created a store procedure having 2 input parameters. i am using this procedure in crystal report. how can i send parametrs to crystal reports for input parametrs of store procedures using vb6 pl send some sample coding. its urgent. Thanks in advance, Vanathi.G | |
Problem is, The following code displaying the first node set out of results. I want to display all the results. PLS help. Private Sub cmdCallSoap_Click() Dim objResults As MSXML2.IXMLDOMNodeList Dim objNode As MSXML2.IXMLDOMNode Dim pstrPhpURL As String 'This is your web URL name Dim pStrFunction As String 'This is your … | |
i have an project in my TYBSc-IT to make calculator i dont understand how will my calculator will display its answers n also the expression on single text display as it is done in normal calculator which we people use daily plzzzzzzzz help....... | |
VB Code About Closing 2 or more forms pls.. Ex: Unload me (close the current or 1 form) what about closing 2 or more forms..?? can anyone help me? pls.. thanks.. | |
Dim s, op, op1, op2 As String Private Sub cmd0_Click() s = s & cmd0.Caption txtresult = s End Sub Private Sub cmd1_Click() s = s & cmd1.Caption txtresult = s End Sub Private Sub cmd2_Click() s = s & cmd2.Caption txtresult = s End Sub Private Sub cmd3_Click() s … | |
Please, has anyone how to connect to a folder that it's on the server using visual basic 6??? Thanks in advance | |
Hi, I have written an application in VB6 to take in SMS messages from a SIM card and store them as Alarms in a MYSQL database. Each Alarm is stored in the database with the date and time of the alarm. I need to add a function to the application … | |
A bit vague I will try to be as descriptive as possible. Im making a program in Visual Basic my first one. And I want there to be 2 combo boxes and a Windows Media player Addon, Combo Box 1, I will select which TV Show I want to load … | |
Hi, To get straight to the point: I'm new at C++. I have quite some programming experience, mainly in GML [Game Maker Language], PHP and Visual Basic. I use GML frequently, almost everyday. But it's problem is, it does not have a lot of functions. But you can use a … | |
Hi I used the Data Source Configuration Wizard to connect to my access database, how do I write code to manipulate the data from the database? I read the book "Microsoft Visual Basic 208 step by step", it only teaches how to display data on the form. So how do … | |
[Good day.! I need to bind a combo box in a list view.Once the user select an item in the combo box that has been binded, the combo box text will remain on the cell of the listview where the combo box has binded. Any help will be greatly appreciated. … | |
is it possible to set the position of the picture inside a pictureBox? like making a small pictureBox and putting a larger picture inside,,instead of showing only the upper-left most part of the picture,,it would be able to show different parts of the picture.. | |
Regrading to the topic can anyone help me about this and give me some example code for add and update data to ms sql 2000. I'm using the ADODB connection for the vb program! Help me i newbie on it. Please! | |
I would like to know how i could continue to another form(form2) in visual fox pro when i use a command button next in form1. | |
Hi friends, I want to copy few cells of an excel sheet and paste special(picture) in ms-word. I want to develop a vb code code for this. Please help!... Regards, Dinil | |
I have posted this thread in the microsoft software forum as well but with no luck. If anyone can tell me how I can save a active excel file using a macro to save it in a folder using the current date as the file name. I hope that was … | |
Hello, everyone! I have a problem with memory free. Here is the necessary code to understand the problem: [CODE] void fillArray(char** referenceArray, FILE* grid) { //ChaĆ®ne qui va contenir une ligne du fichier. char* lineContent = malloc((width + 1) * sizeof(char)); //Pour contenir le "\0" int i, j; for (i … | |
Hello, We have a VB.Net program that uses GetObject() method. While executing the program, it gives the following exception. <b><i> "Unhandled Exception: System.Exception: Cannot create ActiveX component. at Microsoft.VisualBasic.Interaction.GetObject(String PathName, String Class)"</i></b> The same program is executing successfully in our production environment but not in one of the development environment. … | |
Hi, I have a site that allows users to upload images. I am able to upload image, save to server, and display images right away. Problem is that the images dissapear after I navigate away from the site! I am using the file system to store images. You can view … | |
Hi, I am writing an application in Vb6 to take in SMS text messages and store them in a database. I have 3 timers The first has an interval of 2 seconds In this time it checks the SIM card for messages and sorts them into a database and displays … | |
Hi guys i need to ask if i have create a table then display it on the data grid on the vb program but the table have many Same ID number but different people so do it got any problem if i do like that ? | |
I have an asp.net application done in visual studio 2005. When I run the application from code, it rums properly but when I compile the site and run it from IIS there is an ODBCerror. The same is the case when I run the code from IIS instead of running … | |
Hi I am developing a windows application. For your infomation FRONT END : C# (VISUAL STUDIO 2008) BACKEND : SQL SERVER 2008 In a single form I have an option for add and remove books. Two different buttons are used(Add and Remove Books). When I click on Add button the … | |
Hi, There's no error on my codes for searching the Record in MSFlexGrid, but i want to know :-/ if its [B]possible to search the record in other column of MSFlexgrid.[/B]:-/ for example I want to search the record that is placed on the column 3 and not in the … | |
Hey, I wrote chat programme in visual basic but after I create exe and send it to other computers, two computers are not communicated since I receive runtime error '424' object required. I think it is because winsock.ocx file. I check other computer if it has winsock.ocx file in system … |
The End.