10,992 Topics
![]() | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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? | |
Hi, I have been recently programming a application in visual basic 2005 express edition. My program is like windows which has programs inside. So i have these buttons in my program that link to other programs. The only problem is that i wanna create a taskbar. I have put a … | |
Hello All, what is the best way to avoid conflict errors for dll & ocx files while creating setup using Package & Deployment Wizard. its a bit frustrating doing this as sometimes ur pc has files but client does not have it. check out the following link: [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;831491[/url] Any other … | |
I have a workbook that does MS Query in Excel by Get External Data>New Database Query. This works fine in a non shared environment eg. Not placing workbook in Share via Tools>ShareWorkbook. I wish to have this workbook in the Shared mode. Is this possible? At current when I tried, … | |
Hello , need some help on following code: HH = DateTime.DateDiff("h", "01/01/2008 12:30:00", "01/01/2008 15:00:00") MM = DateTime.DateDiff("n", "01/01/2008 12:30:00", "01/01/2008 15:00:00") SS = DateTime.DateDiff("s", "01/01/2008 12:30:00", "01/01/2008 15:00:00") MsgBox HH & ":" & MM Mod 60 & ":" & SS Mod 60 the result shows : 3:30:0 im expecting … | |
Hello there, I am trying without much success to display multiple columns from a database where the selected data is dependant on specific common data. I have tried using an SQL statement with a Jet 4.0 OLE DB connection. SELECT Name,Date,Action FROM Track WHERE SerialNumber="1" with the output displayed in … | |
Greetings!!! I need help in calculating the difference between 2 dates (the result should be like "1 year, 2 months and 15 days"). I am building an application for my team to show their tenure in the organization (LIVE TENURE FROM THE DATE OF HIRE TILL NOW). I have the … | |
Hello all.. Guys can you pls help me with the source code of how to create Reminder in VB-6? I'm using MS Access as a backhand tool.... Thanks | |
my title said it all, pls help me i cant find it on my components after install it thx in advance | |
Guys can somebody pls help me, or tell me the source code to create Reminder alerts using VB... Thanks | |
Is it possible to make a new OS in visual basic 2005 and if it is then how much time does it take and are there any tutorials or codes that you can post? | |
Hello everyone. I have this problem recently when I change my OS from winxp to suse linux 10.2. I want to run my visual basic 6 in suse but I have no idea how to do it. Is suse is capable of running vb6? If not, is there any options … | |
Can anybody help? I have modified an original Visual Basic project to convert from set of binary code into a readable format. I am unsure of the actual type of code that the data file ("Mazatrol.dat") contains. I need to be able to convert it into a language, from binary, … | |
Anyone can help me in VB6 using DAO. My problem is how to find record/s using different tables. Example: After saving the data in Form1, I want to shift to form2 thru a command button in form1. When I press the command button to open form2, the code will unload … | |
Hi, I have almost completed my project but I want to let the software on trial period for one month from the date of installation. After which it should cease to open MDI form unless I give password. or code to prevent the software from installation in more than one … | |
I'm using the VB6 Standard Toolbar Control. I would like to basically do this: [code] Private Sub MDIForm1.Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button) [/code] Which cannot be done. I'm looking for a some along these line. I have tried this code in a timer, but it seems to make the button click … | |
Recently I was trying to execute a "SELECT...INTO" query (for an Access db) w/ VB in an Excel macro. Kept getting an error message, so I changed it to just a SELECT query and got "Cannot execute a select query." So is it impossible to execute select queries in VB-excel? … | |
Greetings! Anybody know how to set or get the value of hijri calendar. Like for example I set the date in the form of mm/dd/yyyy gregorian calendar the value is 12/22/2007. I want to get the equivalend value in hijri calendar which is 12/12/1428. Then If i set the date … | |
I have developed application in VB5 on a mchine with Windows XP Home SP2, and saved as .exe files. When i run this application on another machine error report is generated: This application has failed to start because MSVBVM50.DLL was not found. Can you hlep me. Thank: OLISAN | |
I wrote a VB6 application to generate email for my application. I can generate plain text messages just fine, but I really want to have the message in RTF format. Does anyone know how to generate the text in Rich Text Format? Somehow I think this is going to end … | |
hi i need help i have done the interface for a virus checking software i got the scan button but cant work out the stop button code... please any did virus checking software and a backup ... let me know the codes please tks.. | |
hello 2 all, anyone can help me.i am a newbie on programming and i dont know how to use grid. this is the scenario when i search on a database using sql i want to display it to a grid. i am using the component Microsoft datagrid control 6.0 (SP4)(OLEDB). … | |
Hi, I am struck up in the end phase of my project development. My requirement is something like this: I need to import the data from Excel sheet into Access table. The excel file path needs to be selected through Visual Basic GUI. I tried creating a form in MS … | |
I have been working on this application and im stuck now at a spot where i want to be able to click a button and have a combo box populate with text from a field in a access database where another field on the same record should be equal to … | |
Hi guys/gals, i need to make transparant form and it can be changing by user. i stuck cause i didn't know how to start.. OK.Best Regards.. | |
Hi im alfred from the philippines and i badly need your help so that i could create a "four in a row" game in vb6. Hope to hear from you guys soon. i badly need your help in making this game cause i really dont know where to start | |
hi! i am trying to change the title of a media player object: Private Sub stam() Dim wm As New WindowsMediaPlayer wm.URL = "C:\Documents and Settings\All Users\Documents\My Music\Sample Music\New Stories (Highway Blues).mpg" MsgBox wm.currentPlaylist.getItemInfo("title") wm.setItemInfo("title" ,"hello") End Sub the getitemifo works well, but not the setiteminfo i get a messege: … | |
[B][/B] Gentlemen, I have two badly designed tables - I didn't design these table, they where passed on to me. The tables are so cumbersome I have to create a new table, to be able to use their data. [B]Please see attachments to have a clear idea of the table … | |
Hi there, I am having trouble with public variables. I am trying to create a public variable when a button is pressed. and then recall it on a different form. I cant seem to get it working. The code on form 1 is: Private Sub cmdstu_Click() fmpay1.Text1 = "Students" fmpay1.Text2 … | |
Please tell me .. how can i Initialise 2 dimentional integer array in visual basic 6.0 ..... if i am giving like this .. it returns error .. at ([B],[/B]) Dim intScores(,) As Integer = {{75, 90}, {9, 25}, {23, 56}, {6, 12}} | |
Please tell me .. how can i Initialise 2 dimentional integer array in visual basic 6.0 ..... if i am giving like this .. it returns error .. at ([B],[/B]) Dim intScores(,) As Integer = {{75, 90}, {9, 25}, {23, 56}, {6, 12}} please guide me ... i want initialization … | |
i am using visual studio 2005 and working on program. But whenever i try to debug the code i get a error saying " win32 exception unhandled " what should i do to remove the eror...please help me | |
Hi all, I've been designing a program in VB6 to extract certain rows of data from a SQL Database and shoot them out over email. Problem is, the farthest I can get is to printing them on the VB form, and can't do much else. I get an error when … | |
I am trying to call the GetLayeredWindowAttributes(hwnd, crKey, bAlpha, dwFlags) function but it does not work. I use Visual Basic 6 on Windows Vista Home Premium. I declared it using: [CODE]Private Declare Function GetLayeredWindowAttributes Lib "user32.dll" (ByVal hwnd As Long, ByVal crKey As Long, ByVal bAlpha As Byte, ByVal dwFlags … | |
hello, i want to find record with number field and text field. please help me | |
who can help me to derive this C++ codes to VB that can draw the triangle [CODE=c]#include<stdio.h> #include<conio.h> #include<stdlib.h> #include<math.h> main() { clrscr(); float a,b,c,S,D,A,B,C,Area,R; printf("Enter the lengths of the three sides of the triangle : "); scanf("%f%f%f",&a,&b,&c); S = (a+b+c)/2.0; // S is the semiperimeter of the triangle D … | |
I am trying to retrieve the index location for separate bars from a bar chart created in VB 6.0 Pro. using MSChart. I need to click on an individual bar to get it's index value. All I can get is value for the first bar on the chart. The method … | |
hi all, i want to take snapshot. how i can do this with api function?? i didn't know api function to do this thanks to the attention best regards hope. | |
| |
Hello, with the information of person, i want to add his/her photograph. please help me for that | |
Hi, I have written a code in VB which replaces comma(,) in a file with semicolon(;). The syntax is snextline = Replace(Inline, ",", ";") where inline is the string which needs to be replaced. Is there any way that i can show the progress using progress bar for the replacement … | |
I have written a VB6 application to query an industrial MSSQL database and installed it locally to run on one network machine, Is it possible to install it on the server to allow all users to run it? Is the compile/build any different? |
The End.