16,916 Topics
![]() | |
i want to save the image together with excel file. Like this, this is my code converting vb report to word: ActiveDocument.Shapes.AddPicture FileName:="" & App.Path & "\logo1.jpg", Left:=140, Top:=0, SaveWithDocument:=True Is there an option on excel like "SaveWithDocument:=True" | |
Hello, I support a large VB5 application which is installed and running on a number of windows PC's around the world on versions up to win 7. I have installed it on windows 8 and whilst the program starts, it fails with error 70 in a number of places. On … | |
Hello all, I am very new to visual basic, I started codeing at the beginning of this semester so bare with me. Main goal of this post: Create an array for a table of properties of my gas Have my program read a temperature value input by the user Find … | |
I am currently creating a game. Everything in this game works great. To reset the highscores you click on a button and an input box pops up asking for your admin number. If the number is entered correctly the text files containing the highscores are deleted and blank ones replace … | |
can anyone tell me how to programe barcode in vb6.0. i want to use barcode reader in my newly developed retail shop software. i'll be very thankfull? | |
Hi all, I'm make a program to read text file. I can read the text file but don't know how to write it to listview. This my code to read into arrays: Function ReadFileText(ByVal filename As String) As String Dim handle As Integer ' ensure that the file exists If … | |
Option Explicit Dim card(1 To 52) As String Dim cardused(1 To 52) As String Dim deck(1 To 52) As String Dim profit As Integer Dim playerscore(1 To 5) As Integer, dealerscore(1 To 5) As Integer Dim playercards As Integer, dealercards As Integer Dim currentcard As Integer Dim playerscard(1 To 6) … | |
I want to populate combo box with particular field value of a table in ms access. datafile = "D:\database.accdb" With cn .Provider = "microsoft.ACE.OLEDB.12.0" .ConnectionString = datafile End With cn.Open Set rs = cn.Execute("select * from mytable") Do Until rs.EOF combo1.AddItem rs!name rs.MoveNext Loop cn.Close I am getting runtime error … | |
I am trying to implement filesystem of **GruntyOs** in my test os which i am developing using **COSMOS** kit in visual studio 2010..there are so many os like **noobs envyos** etc that have already implemented **GLNFS filesystem..** while implementing gruntyos in my os i am getting **HResult exception**. please tell … | |
Hi I have the file copy statement to copy a sourcefile = App.Path & "\PhoneTel.mdb" destinationfile = App.Path & "\backup\PhoneTel.mdb" FileCopy sourcefile, destinationfile sourcefile1 = App.Path & "\backup\PhoneTel.mdb" destinationfile1 = App.Path & "\backup\backup\PhoneTel.mdb" FileCopy sourcefile1, destinationfile1 how can I get the backup file from backup\backup with the old data, not … | |
This type of message appears when I start downloading information of agents from 'Visual DO Magic' . DO Oline FUP update Runtime error '91' object variable or with block variable not set. | |
I Have created a movie database in visual studio 2008, and its just not saving my records to my access database, Can anyone help me, if it helps if you send me a PM i can send you the file Thanks Michael | |
Hi group, If you've seen my posts before on SQL Server stuff you know I'm a "raw rookie" with this. Again, I need some help. I'm going to need SQL to create an order number for me. I've created a datatable with two fields: OrderNoID (key) and OrderNumber. I've already … | |
Hi All I am creating a Movie Database in visual basic 2008, i have creatd my database in access, and now wish to use to VB to add and modify my database. I have a field in my acess database, set as an OLE field where i have stored images … | |
READ a text file line by line and store it into string if a particular pattern is found ,then output the pattern into differnt string ? | |
Hi group, I already build a program with vb6. The problem is when the program is running and user click the exe file again then it makes program running twice in same time. Is there a way to restrict this happened? Thank you. | |
how i can check if text box value exist in data base or not plzzz helppp | |
Hello, My name is Fungai, I recently joined this forum trying to learn VB.NET. I an still a university student and I will be very thankful if you will allow me to discuss my difficulties with the members. I would appreciate anybody who can help me learn more about VISUAL … | |
sir i have this question... I do have 3 folders in drive D:/ namely :Backup, Trea and Inven.. now wat I want to happen using VB 6.0 is dat should have a button in my program that will automatically copy the two folders (Trea and Inven) and in Backup folder … | |
Hello everyone, I am trying to set a global variable in a module so that I can call it from any form or command button. I thought that I would declare the vairable by "public x as double" then set "x = 45" But how do I use "x" in … | |
I am writting a simple C++ programm and I want to generate outputs to the console but with the functions 'fwrite' and 'printf'. However, I can't print special characters like 'á', 'é', ... Here is a simple code: printf("Special character: 'ñ'"); Were the output was `±` I found that those … | |
Hi and thanks for all help. How to erase a file file.Delete (App.Path & "\backup\PhoneTel.mdb") it do not work. Or do like this instead that the file phonetel.mdb is uppdating evry time you press enter. | |
I am trying to write the information below (name, employee no., etc.) to a file using StreamWriter. I'm able to enter the data, click the save button, enter/change the save location and file name and save the document. When I open the saved document, its blank and none of the … | |
Hi , I am using C# to do my projects and I have connected to a MS SQL database file and I am using MS visual studio 2008 standard edition. I need to get all the users first name and the last name and display in a combo box when … | |
I have had a hard time setting up OpenGL to work with Visual Studio 2010,but no luck so far.I included `glut.h`,`gl.h`.I have linked the requisite `.lib` files in the Project Properties,but still I get this error `error LNK2019: unresolved external symbol _glutMainLoop referenced in function _main` ind six more like … | |
Help Need Vb Emplyee Record Program With My sql Connection example employee record database program add button ,editbutton,delete button all work will bhe done thru sql table connections | |
i make my project set up but when i install it on another computer it gives error that " can not find data in c:/document and settings.how we an solve it plz tell me | |
I've a field, say "Invoice No.", i want to be this as an auto-generated number. like DLP/001/2013-2014 DLP/002/2013-2014 DLP/003/2013-2014 . I use vb6 and Access.how can i do this? | |
Hello all, I have been on the internet trying to learn as much as I can about Visual Basic and I found this website. With over a million members and helpful articles, I know I want to be a part of this community. I am a IT consultant for small … | |
Hi all, I need to read my text file that contain first name, last name, age and blood types. All of it separated by semicolon sign. Eg: `Trudy;Canavan;41;AB` What i need to achieve is read the text file into different arrays. Please help me. Thank you | |
hi guys, i am making invoice form in vb6, i have to make grid view so that user can add item details in row just by clicking on it and new Grid is open when user want to add new item. like productname description qnt rate amount ----------------------------------------------- row1 row2 … | |
i have this code an everytime i run it. `ActivePrinter = "PDF Complete on PDFC"` `ActiveWorkbook.PrintOut copies:=1, collate:=True, Preview:=False, PrintToFile:=True,` `PrToFileName:="C:\Users\srnardo\Desktop\CONVERT" & "\" & strFileName` i get this : >Runtime error '1004': >Your file could not be printed due to an error on PDF Complete on PDFC. im trying to … | |
visualbasic assignment how to draw a multicolored worm! pliz help | |
Hello everyone, Can somebody help me with Visual Studio 2008 Express Edition? I've already have THE 2010 version but I need to have the 2008 version for programming for a specific program. I've already searched om the net but there are no good downloads avalible. The ones all gave an … | |
Hi everyone I'm having a very annoying problem that I can't seem to find an answer to. I have a rather simple web app that basically retrieves some data from a database. I'm using Visual Studio 2010 Pro. I've developed the app and deployed it to my web server and … | |
Hi and thanks. I am wondering if there is a way to clear the screen before the program is loading. Lenny | |
.ConnectionString = "Driver=MySQL ODBC 5.2a Driver; SERVER=localhost; UID=asdsadafg; PWD=sadsadsJFKSKF9; DATABASE=SampleDB; PORT=3306; OPTION= 1 + 2 + 8 + 32 + 2048 + 16384 can anyone explain the OPTION, what this connetion string will do... i have no idea.. please explain | |
Can i convert an excel file to PDF file .. can anyone give me an example macro .. Thank you guyss .. | |
Using Visual Basic 10, and I am trying to identify min/max statistics and display the results. My calculations are working, but the display is not (line 68 & 80). With the way the code is written now, I don't get the error but my results are displayed as "The minimum … | |
create a text file called contacts using Notepad (programs> accessories > Notepad) with n=15 records for storing their name,sex age ,telephone and email address that resembles the below. "Hiba", "M",20,1234567,"aaa@yahoo.com" "ahmed", "f",21,2345678,"bbb@yahoo.com" "ali", "M",25,3456789,"ccc@yahoo.com" write a program to read the file display contact information. | |
Need urgent suggestions. Thanks in advance. | |
Hi I have tried evrything in a list box. The listbox contain this 04-25 ene and I will deselect 04-25 when I am going to dbclick on that item the name "ene" shall I display in a book Any Help Lenny | |
I have to do final year project based of system .. i've choose to make information technology system .. i have to make it showed up at LCD sceen using database monitoring system .. i have to link to our University student database .. it such a hard work .. … | |
write a program to calculate the areas and circumferences of circles given thier radii 5.2 , 7,12,7.7 and 23.5. Round your output to 4 decimal places | |
write a program to generate 200 interger random numbers in the range [1000,9999]? can some one help me please use Visual Basic 6 write a program to generate 200 interger random numbers in the range [1000,9999].compute (a)how many of thee numbers fallin the ranges 100-2499, 2500-4999.5000-7499 and 7500-9999? (b) how … | |
I have this code. pdfCreator.ActiveSheet.PrintOut copies:=1, ActivePrinter:= _ "PDF Complete on PDFC", collate:=True How can i add a save location to this code . My default is the desktop when i save all the the file to be converted my desktop becomes a mess . can anyone help me how … | |
Hi I just started playing around with Visual Basics today and thought it would be cool if I could make a program to work out the weight and the price of a square peice of steel. I have tried to solve the problem and fixed many errors but now I'm … | |
hello friend, can someone help me, i want to learn how to connect my app database from another computer using code, i already try to change connection string = "Data Source=-SERVERNAME-\SQLEXPRESS;Initial Catalog=SmartHome;Integrated Security=True" but its still same, someone please help me, im using win8, microsoft sql server 2008, Visual studio … | |
I have a form with a calendar and a textbox with 2 buttons. The calendar is the vb 2010 tool and the textbox overlaps it so that when a day is selected on the calendar you can make an appointment for that day. i have a save button and a … |
The End.