12,425 Topics

Member Avatar for
Member Avatar for technogeek_42

[ICODE]['5 command buttons: 'cmdRestart; cmdLogOff; cmdForceLogOff; cmdShutdown; cmdForceShutdown Option Explicit Private Const EWX_LogOff As Long = 0 Private Const EWX_SHUTDOWN As Long = 1 Private Const EWX_REBOOT As Long = 2 Private Const EWX_FORCE As Long = 4 Private Const EWX_POWEROFF As Long = 8 Private Declare Function ExitWindowsEx Lib …

Member Avatar for bushman_222
0
116
Member Avatar for tagpi

how can i pass or put a row of data on a datagrid into a bunch of textboxes? on my datagrid are StudentID, LastName and FirstName, i have textboxes named txtID, txtLname and txtFname, i have command buttons named cmdEdit and cmdSave if i select an entire row and click …

Member Avatar for tagpi
0
121
Member Avatar for Mbt925

I want to introduce some good and practical activex component at this topic. 1.[B]LargeTm[/B] Vb Timer object can get until 60000 miliSec interval and don't accept largar than it. this timer can get each interval you want. 2.[B]MBClock[/B] This clock is a simple clock that show system time in your …

Member Avatar for Mbt925
0
580
Member Avatar for bredes
Member Avatar for binoj_daniel
0
106
Member Avatar for kharri5

I figured it out! Huzzah! In order to grab data from cells of an excel spreadsheet from an outside excel app into PPT WORD, or other office apps, jam that data into a custom class and jam that into an array of CustomClas type you do the following: [CODE=VB] Public …

0
108
Member Avatar for AndreRet

Got stuck completely. Need to shell to an app running on IP***.***.***.***, Server is running windows server 2003. Normally connect to app using remote desktop connection. I need to let client connect from MY app to this server - forms part of app I'm developing.

0
75
Member Avatar for rajeshkhanna_in

Hi all, Is there a way in which a TSR program could be made in vb6.0. Something like If an EXE of a software written in vb6.0 is run, then this TSR program should load and remain their for as long as it wishes to (the program cannot be stopped …

Member Avatar for rajeshkhanna_in
0
364
Member Avatar for bubbleT

Hi currently working on a vb program to access a LPTSTR data in a VC coded function. My vb program cannot get the string data my sample code [CODE] Declare Function GetMainWork Lib "LibDWM.dll" (ByVal lpszWNo As String) As Long 'I've tried 'Declare Function GetMainWork Lib "LibDWM.dll" (ByRef lpszWNo As …

0
81
Member Avatar for lostandfound

Hello, I have been trying with no success to transfer a recordset from one form to another. I have declared in Form1 that [CODE]Public myRS As ADODB.Recordset[/CODE] All works lovely in Form1 In Form2 when I use [CODE]Private Sub cmdFail_Click(ByVal myRS As ADODB.Recordset)[/CODE] I get an error message at runtime …

Member Avatar for hkdani
0
181
Member Avatar for prasadh_king

hi could anyone help me out with the below coding on send keys in vba I have a excel fiel in cel a1 i have username and password in cell a2 and i have a web page with login texbox and password text box and a submit button below is …

0
70
Member Avatar for kharri5

Hello, I am currently writing a powerpoint presentation that is an interactive survey. It takes in a file of data, and adds it to a big dynamic array. When the user answers questions it picks the data from the array and populates an excel spreadsheet for a final output of …

Member Avatar for kharri5
0
131
Member Avatar for bushy1985

Hi there I have connected visual basic express to my access database and designed a windows form with navigation functions as well as add delete, update functions. I have used textboxes to display the database fields on the form, but i am having trouble displaying an updated autonumber when a …

Member Avatar for bector
0
181
Member Avatar for Hemant Mukherje

Hi I want to read a source code of a web page & then write it into a text file using vbscript. I have used this code but not working properly. Error : ActiveX component can't create the object [code=vb]Option Explicit Dim objHttp Dim strUrl Dim strData ' Create a …

Member Avatar for Hemant Mukherje
0
441
Member Avatar for VBNick

Are most printers capable of printing all the way to the edge of the paper? is there a minimum margin? In my program, the paper size is 8.5x11, how much space should I leave around the edge so that it will print properly?

Member Avatar for Duoas
0
32
Member Avatar for wolfman800

Hi, im trying to create a program so that when i hit certian keys on my keyboard it will input the special letters used in the German language. eg "Ä", "Ö" etc... I have managed to do this with the GetAsyncKeyState and the SendKeys statments, however when i press my …

Member Avatar for jireh
0
157
Member Avatar for ashishprem

Hi I need to insert a string in a database but the string might or might not contain a quotes('). There is no problem if there is no quotes. But in case of quotes it throws a syntax error in insert statement and that obvious also. What i am thinking …

Member Avatar for jireh
0
118
Member Avatar for MagicBytes

Hello, I wish to create a document in a word processor with all the formating etc and save it, then I wish to drop this document on to my form in some control or object so it is hidden from the end user then I wish to load the hidden …

Member Avatar for technogeek_42
0
151
Member Avatar for SCBWV

Does anyone know how to get the Rich Text Box to save margin information in a file? The RTB seems to ignore all margins.

Member Avatar for technogeek_42
0
76
Member Avatar for newto_vb

hi, I have around 10 check box, i want a report which displays checked checkbox. If i select 5 out of 10 check box it should display 5 columns data in a single report. please provide logic for this. thanks

Member Avatar for technogeek_42
0
74
Member Avatar for rrvb

I've been searching the internet and this site and haven't been able to find an answer to what I believe should be easy to do. I'm using Visual Basic 2008 Express and I'm trying to retrieve a web page. I'm using the following code (that I found on the web): …

0
50
Member Avatar for everlast

can anyone give me a reference to a great tutorial for programming Ti 89 graphic calculator using BASIC?

0
66
Member Avatar for Derice

HI, i am new in VB. I would like to know whether VB have API like Java? Where i can search through API/documents to know the function of any built-in function or is there any website that provide information for all the build in VB functions? It is possible to …

Member Avatar for Jx_Man
0
108
Member Avatar for bredes
Member Avatar for zawpai

Hi, Does anyone want to give me a hand? I gets a small problem in my code. I want to make the mouse pointer is disappeared while pressing 'Alt' key. Otherwise, the pointer should reappear. I use ShowCursor API to do it, but I meet the problem. If I run …

Member Avatar for zawpai
0
225
Member Avatar for macbrutal

Private Sub Command1_Click() Dim namefile As String namefile = Text1.Text Open App.Path & "\Accounts\" + namefile + ".txt" For Output As #1 Print #1, Text1.Text Print #1, Text2.Text Print #1, Text3.Text Print #1, Text4.Text Close #1 MsgBox "Thank you for your registration, please login!" Form2.Show Form1.Hide End Sub -------------------------------------------------------------------------- That's …

Member Avatar for macbrutal
0
102
Member Avatar for vincepitogo101

[B]hello,,,, pls help me ,,, I need some simple VB Programming about Priority Scheduling,,, such as[/B] [B]Shortest Job First,[/B] [B]Shrortest Remaining Time First,[/B] [B]round robin,,,[/B] [B]multiqueue programming[/B] [B]non- preemptive,,,[/B] [B]preemptive priority scheduling[/B] [B]thank you,[/B] [B]vince,,[/B]

Member Avatar for cookhietta
0
40
Member Avatar for iTTaleem

Hi Every one , on monday i have to submit my assignment i need ur help in this regard make a label box in vb one label box and only one and one text button okay so, when the user clicks on the next button a question should display in …

Member Avatar for hawisme000
0
102
Member Avatar for dinnug

Hi, iam developing a small application using vb6, oracle 8i and crystal reports 9 my problem is i placed crystal report control on MDI form and named it as CRT but in CRT properties iam not getting CRT.Sqlquerry property and .windowsmaximised properties.. why it is happening is it requires any …

0
48
Member Avatar for johnericdel
Member Avatar for hawisme000

my sql query is this [CODE] Set rs = conn.Execute("SELECT COUNT(Question) FROM QnE where fldChapter = 10")[/CODE] on my tble that fldChapter have a value of 1,2,3,4,5,6,7,8,10~~~~~,20 and im getting a random cell value form fldChapter HOW can i get a random cell value form 1~10 only??? pls help me …

Member Avatar for SCBWV
0
80
Member Avatar for LUCY KAMATHI
Member Avatar for tgifgemini

[B][/B] Hi all sorry for the inconveniences, I just wanna get this syntax thing out of my back. I modified my vb module and now I'm getting[B] "Run-Time error 3075 syntax error(Missing operator) - query expression"[/B] Then it displayed this line of code as the problem line: [Code] 'TblPersonnel.[Name] = …

0
89
Member Avatar for stuw

I would like to input a spreadsheet and convert it to a text file and then manipulate it. I don't want to have to open Excel to do this. I'm just slightly above the noob stage. I only have VB5 at this time. Thanx in advance for any help!! Stu

0
47
Member Avatar for kinnu

hi, plz help me solve this one, The application should create a window. The window should be divided into 4 parts. Each part should be painted with a color (choose a color of your choice). When I click on a particular color, there should be a message box saying the …

0
50
Member Avatar for tgifgemini

[B][/B] Hello members, I am trying to execute the module below (SQL statement) and I am getting the above error: "Syntax error in FROM clause" on this line [code]Call db.Execute(strSQL)[/code]. When I hovered the mouse over the SQL string variable, it shows this line of code: [code]strSQL = "Insert Into …

0
83
Member Avatar for Darko George
Member Avatar for rnr

I have been struggling with this problem for a couple of days - and am now getting desperate. I am trying to extract data from a large binary file, about 64 mb. It is sequential binary records of two byte words. The values range from +32k to -32k, The variable …

0
82
Member Avatar for kartik07

Hi,I am new to VB6.I need to create a similar menu for many forms.My proj has around 8 forms.lets say I need file and edit menus,also have submenus. Do I need to repeat the code in al the forms or can I declare some coding in a module or something …

Member Avatar for kartik07
0
102
Member Avatar for rocslasher

Hi Can Anyone Help Me How To Use Data Report..i Am Using Visual Basic 6 And My Back End As Database Is Mysql..

0
52
Member Avatar for VBNick

Hi, I am making a Sheduling program, in which I designed my own graphical interface using fillrect, lines, textout, ect... I hold the picture in memory, then paint it when it changes like this: mDC = CreateCompatibleDC(me.hdc) hBitmap = CreateCompatibleBitmap(me.hdc, 100, 100) SelectObject(hDC, hBitmap) Form_Paint/Form_Click() update chart and work shifts …

Member Avatar for VBNick
0
121
Member Avatar for greekgeek

I am trying to move a website from an other server to one of our servers. I am not familiar with ASP. Teh website is asp and visual basic. The database is mysql. I have imported the database in Mysql server and I have loaded the code to iis6. I …

Member Avatar for SheSaidImaPregy
0
100
Member Avatar for saurabh.verma

How do i make a windows style menu in visual basic for my application i have a menustip but i shows only one straight column, but i want like it is in windows XP and Vista. so i have two columns for different kind fo things to add how do …

Member Avatar for AndreRet
0
115
Member Avatar for mariegomez84

Hi! I'm trying to open a .xls file in vb, but not a specific file. What I need is something like this: if [COLOR="red"]filename.typefile=.xls [/COLOR]then msgbox ("it's an Excel file") end if What I wrote in red colour is the code I need, because I know this code doesn't exist. …

Member Avatar for Jx_Man
0
116
Member Avatar for mariegomez84

Hi, people! I need some help with OLE in vb. I need XY Scatter Chart in vb, but there is no way to get it, so I found OLE and with this application I'm able to get this type of Chart. The point is that I don't know how to …

0
74
Member Avatar for diyerxa

Hi all, I'm training at college in VB.NET, I'm not that far along, but know the basics. My father is in the IT dept at a printing firm. A programmer developed a fairly simple "Label Printer" application for his company in VB6. They've been running it on the shop-floor computers …

Member Avatar for Dhaku
0
213
Member Avatar for walelawal

Hi Group member, Am a beginners programmer. i have a task of extracting data from a text database, split and write it to another specify folder.Pls i need a code to do this. thanks

Member Avatar for jackline
0
83
Member Avatar for zawpai

Dear all, Could you please help me? I would like to know whether it is the same or not. Is it the same "mouse click" and "mouse Press"? I want to detect the mouse is pressing with API. Which API should I use? I actually want to know the detection …

Member Avatar for Jx_Man
0
151
Member Avatar for guest11

hi all, Is it possible to run visual basic's .exe file or application from vb.net application If yes then can anybody tell me how n can tell me code for that. Actually i want to run vb application from vb.net if possible then please tell me as soon as possible …

Member Avatar for ericstenson
0
180
Member Avatar for RigbyBaffers

I want to get a new Graphics card for my PC and although I know how to do the physical part of putting suff in I don't actually know how to go about looking for one and how you can judge how good one graphics card is compared to another …

Member Avatar for jbennet
0
76
Member Avatar for saurabh.verma

How do i create a progress bar like in windows 98 it is colered and is on the startup screen here is the picture [IMG]http://i17.tinypic.com/6lja70n.png[/IMG] can anyone tell me how to make it please?

Member Avatar for SCBWV
0
90

The End.