20,284 Topics
| |
I cannot figure out the declarations to write to an excel file that is already open. I open the excel file and make it visible with this: Private Sub Button1_Click Dim objExcel As New Excel.Application Dim objWB As Excel.Workbook objWB = objExcel.Workbooks.Open("F:\My Software\files\test.xls") objExcel.Visible=true End Sub What are the declarations … | |
Ok, here's what I've got. In the screenshot, you'll see three things- a start time, end time and total time. So the goal is this- A user puts in a current start time by hitting F1 at the start of shift. They tab across the end time to the "time … | |
Set up my database through the wizard and copied the connection string it presented to me. But am having problems connecting to the actual DB. Error quoted below. Am I missing out on something? [CODE] Private Sub btnDB_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDB.Click Dim strConnect As … | |
My problem is that when this executes the results come up as a query in the text box and not the result. Is there a way that this can be converted? The idea is to select a name within the combobox and this should update the 3 textboxes with the … | |
In my case, i want to make some tool with event, example : make a new textbox with event button click. Can Visual Studio 2005 vb.net do that? How to do that? thanks before :) | |
Hello and welcome everybody to this new thread which i hope you enjoy so this is a new software that will make you able to convert addons for Firefox let's say you had firefox 4 installed but most of the addons are not compatible yet with it this software comes … | |
Hello , I have a label on my code and i have 3 lines on it , what i want to do is to have my first line on white color and bold , next line normal white and third line on yellow normal .. still searching for a solution. … | |
Hello , i would like to add a hover text when i have my mouse in fronnt of the image , not from the properties because i want to add some code on it .. it could be like 150x40 or more or less in size .. i would like … | |
i want to create a system that will trigger alert based on few condition, my condition is: the alert will trigger if there is a negative value for 2 consecutive years. example: 1)negative amount for 2005 2)negative amount for 2006 here is the code that i have for now and … | |
Hi everyone! I have an installment payment program which have Hijri date (Saudi Arabia) and I already have the code for it's converter inside the forms (using datetimepicker for the Gregorian & maskedtextbox for the Hijri). I'd like to know how can I convert or produce the corresponding equivalent Hijri … | |
hello guys i need help how can u get the data in to two tables in one form. This code works but the problem is like in combobox2.text the data is display twice and also in inEmployee.text the data is display 4 time both are combobox so when u click … | |
I guess I have two questions (Visual Basic 2010)- When I run my compiled project, it creates a start menu folder and desktop icon. But there's nothing in the Program Files of my OS. Is it because my project is still small- or something else? Shouldn't it create a folder … | |
Hi Guys Hi have a small project I've been developing too hel me study VB 2005. Now I stuck. could pease help me on How Could I exort retrieved data into an excel Sheet. consider having 4 text boxes and 1 pic box. Hope hear from you soon Leo | |
Hello, I am getting the below error while migrating from VB6 to VB.Net: Error 1 [B]'PrintForm1' is not a member of 'System.Windows.Forms.Form'. [/B]in the below code: [B]Public Sub PrintScreen(ByRef frm As System.Windows.Forms.Form, ByRef FormHeight As Short) [I]'UPGRADE_ISSUE: PrintForm Component might require to be declared.[/I] frm.PrintForm1.Print(frm, PowerPacks.Printing.PrintForm.PrintOption.CompatibleModeClientAreaOnly) End Sub[/B] The error … | |
Hello, I have Get() & Put() functions in my VB6 project. It was upgraded to FileGet() & FilePut() but they are not working. I am getting the runtime error as "Unable to read beyond the end of the stream." Eg: FileGet(X, Y, Z) -> I think the parameters are FileGet(FileNumber, … | |
hi, How do i delete the selected records at listview and textfile (which keep the record from listview) and at the same time show the total current balance at listview. any guidance plz help. [CODE]Imports System.Data.OleDb.OleDbCommand Imports System.Data.OleDb Imports System.IO Imports System Imports System.Text Imports System.Windows.Forms Imports System.Console Public Class … | |
have been creating reports using crystal report and crystal report viewer. but i want now to generate them from sql databse using reportviewer. my report does not display any record. for a crystal report, to load data, the code is for example: dim myreport as new crystalreport1 crystalreportviewer1.reportsource=myreport crystalreportviewer1.refresh and … | |
Hi, Please help me to create tool strip. Can i use tools commonly for all the winforms? how to create common toolstrip? for example : I have one toolstrip.it has one delete button. All winform has one datagrid and data comes from differs tables. Now i want to remove the … | |
Hi, in my project i am creating a rtf file using xx.save(considering xx is the name of file), now when i try to load the same file using xx.load it opens the file in rtf box it loads the file successfully but prints few unwanted information too. a sample what … | |
i currently have a project. The application created in this project will be located in a server, and some machines can access this application at the same time. The problem is, i don't know what's needed to connect that application to several machines. I know how to build this application … | |
i have a problem with editing data in datagridview in vb.net 2005 ,, can anybody give the full code for that!! i appreciate your help.. | |
Hello, I am very new to VB.net. I know some other languages but this seems completely different, anyways, I am trying to make an autoclicker and auto skill leveler for an online mmorpg. I have the code doing what I want it to; however, I was wondering if I could … | |
Is there a function in VB.net that allows me to divide a really long String into a specific number of characters? For example: MyString= "Hello man! Wazzup?" group1="Hello " group2="man! W" group3="azzup?" The length of this string is 18 and I'd like to group it by 3, so each group … | |
I'm creating an application that calculates render times for Maya. I kinda got bored of coding all the technical stuff so I started to mess around with the interface. I'm trying to create a combobox color picker. Is there any "easy" way of doing this? I found some examples but … | |
Hello. Can somebody help me please to remove blank lines from listbox? And remove specified text from listbox (text line that i can specify in form code(But if i specify to remove line something like "http://www.google.com/" it will remove the line "http://www.google.com/" but doesn't remove line "http://www.google.com/chrome/" etc ). Please … | |
Hello, I had done my program, but I got a little problem here. I don't know how to create Setup for my program. I'm using Visual Studio 2008. What I want is, when the user install, it will ask the user if they want to install the database or not. … | |
VB.NET 2008 - Get Desktop Icons Text Width & Text Height I am developing an application in VB.NET 2008, in which I try to get Desktop Icons Text Width & Text Height. So far I have obtained all desktop icons positions, but I really can't figure by myself how to … | |
my application icon looks ugly-like a paper and i would like to change it to something like globe icon or any suitable image.Am programming using visual studio 2005 and the program is written in vb.net.Can somebody save me ? | |
hello! am an computer engineering student, & these days engaged in a project, the front end tool is vb.net 2008 & the back end tool is oracle10g... am using windows xp as OS.... the reason i need your help is, am not getting option of connecting oracle10g.. i guess, oracle10g … |
The End.