19,728 Topics
| |
I'm trying to call other EXE's from my program I'm writing. Inside my project I have a folder called progs with exe's inside it. How can I call these from button clicks? | |
| Hi, I have a piece of code which loops through checked checkboxes to do something with each of them. After each turn in the loop I want to pause before it continues to the next checkbox until the user enters a piece of text into the text box. I have … |
So i have tried basically 30 different methods of going about this all with different errors in every form and fashion. Basically all im trying to do is write to my database in some form or fashon. Im having no problems reading from it but i need to change some … | |
Hi Friends :cool: Am creating a personal diary application using VB.Net. When i publish the solution i get the .exe file. But when i install it, it gets installed in the C drive by default. My question is cant it be installed in someother drive. If it cant someone pls … | |
I'm trying to figure how to pull the computers workgroup name using VB.NET. Any help would be great. | |
I'm playing around with VB.NET once again since college and I'm trying to recreate a program that GeekSquad uses called the MRI for a friend. Upon doing so, I have run into a few snags. The must present one is once I publish my application to a particular spot that … | |
Hey, im just wondering if there was any easy were to make sure that an entry havent been used twice in a selection of ComboBoxes. Heres the start for what id have to do if there isnt. [CODE]Private Sub ComboBox9_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox9.SelectedIndexChanged If … | |
i am trying to create a crystal report and run it on the fly so far this is where i am can anyone help or point me in the right direction.Any help will be appreciated [CODE] Private Function SetupReport(ByRef objCrystalReportDocument As CrystalDecisions.CrystalReports.Engine.ReportDocument) As System.Boolean Dim crTableLogOnInfo As CrystalDecisions.Shared.TableLogOnInfo Dim crDatabase … | |
As the title suggests, i am trying to pull a bitmap image stored in a table location with an OLEObject type to my picture box on the form. The code i am using is as following: [CODE=VB.NET]img_ProductPicture.Image = DS.Tables("LocationInfo").Rows(0).Item(5)[/CODE] The error i am receiving is an InvalidCastException: Unable to cast … | |
hi friends i m coding for birth-date in vb.net i have 3 comboboxses in my form (month day year) i want to add this 3 combobox in databse in one field i try [CODE] myrow.Item(i) = Monthcbo.Text & "/" & daycbo.text & "/" & yearcbo.text[/CODE] its working fine but during … | |
Hi guys, Do you know how to set maximum length of character in the textbox of rdlc report? I already dug all of its properties but I didn't see any. Please guys I need your help. Thanks in advance. WHchaz1027 | |
Hi! I have a vb.net project on a jump drive that connects to an Access (2003) database (located on the jump drive). My problem is when I change computers, I have to change the drive letter the jump drive is located. Currently, I have the following code and have to … | |
Hello! Every 1.. Can Any1 Please tell me How to make A Form in vb.net Transparent without Making Its Contents Transparent..! Actually I mean I make a border less form which i want as Transparent and in that Form i added little animation picture .. and iwant this animation picture … | |
I am looking to adding a title to my crystal report document programmatically. This is because i am generating the report dynamically. And the other thing is it possible to just create a crystal report and to run a query and get a result on the fly i am working … | |
Create A New Project as a Windows Form Application. Create any object, such as a text box, in that application. Look at the Properties of this text box. Its Font is set to a default. With a value that is incorrect. How do I change this default to the correct … | |
I am using streamreader to read and streamwriter to write, i have put the lines into an array [text file contents] ********** Remove [ ] ***************** blah blah blah ;this is blah blah blah ;this is another blah [end of example file] i want to remove the lines that start … | |
Hi, I would like to set my application to show [COLOR="Green"]system under maintenance[/COLOR] if it hit the [COLOR="Red"]start time[/COLOR] until the [COLOR="Red"]end time[/COLOR] which i set in the xml (24 hrs). How do i code it. Please anyone can guide me.Thank You! [B]XML[/B] [CODE] <Value Name="StartTime">22.45</Value> <Value Name="EndTime">00.00</Value>[/CODE] | |
[B]In this case, Form1 is the Main Form.[/B] Pre-requisites: [B]2 Forms (Form1 and Form2), 1 Button (on Form1)[/B]. [CODE]Public Class Form1 Function centerForm(ByVal Form_to_Center As Form, ByVal Form_Location As Point) As Point Dim pLocation As New Point pLocation.X = (Me.Left + (Me.Width - Form_to_Center.Width) / 2) '// set the X … | |
I am a young computer programmer. I do my development in visual basic. I currently have a project to develop a software that is internet based. What i want to know is; 1. It is possible to achieve this through vb? 2. What do i have to do to get … | |
Hello. Can someone tell me why this doesn't work? [CODE] Public Sub LoadFile() Dim file As StreamReader Dim temp As String Try file = New StreamReader("C:\file.txt) temp = file.ReadLine() While Not temp Is Nothing Dim ListaTemp() As String = temp.Split(CChar(",")) ListBindingSource.Add(New Mod(CInt(ListTemp(0)), ListTemp(1), ListTemp(2))) temp = file.ReadLine() End While file.Close() … | |
This is going to sound weird but I was wondering if there is a way to show in a list all of the installed Windows Updates. | |
Hi guys, I would appreciate it if you could give me sample code for linking two forms. I have a program which has 2 forms. I execute form1 first because it reads files and then writes to a file. Then I execute second form (form2) that will read the file … | |
Hi, In .NET i used the follwing codings for the Next and Previous buttons for Navigating the records. but it showed error. In NextButton_Click... [dim Rec_count = 0] -> this is globally declared. [dim Row_count as Integer = Data.Tables(0).Rows.Count - 1] [ If Rec_count <> Row_count Then] [ Rec_count = … | |
I am facing a minor challenge in my coding i am trying to generate reports from sql statements.however the method i was using ealier involves making a crystal report using the "Add new item".in the menu and using the wizard until you end up putting the table you want on … | |
Hi, I have a problem with my code. I am checking for the application instance. When i run application A , application B also must run. Below is my code to check the Application B if it is not running i have to make sure the code below execute it. … | |
Hi, I have a form with gridview data with database data. With query I run INSERT INTO from one table into another, with button. I would like when I run procedure, also reset/update/refresh gridview with new import data??!! For info, I have try with some methods, such as me. gridview.refresh() … | |
Team - I hope you can give me a hand here. I am working on a shopping cart type site which displays products in a datalist. I need to find a way to add up all the products and place that total in a label outside of the datalist. Also, … | |
I'm trying to write a small app and I want it to show the OS Install key. How can I pull this? I'm using Visual Basic 2008. | |
I've been scanning all over Google for code or articles explaining this but nothing seems to tell me what I need to know. Most have said to use InPtr = 4 for 32 or 8 for 64. I just need to be able to determine whether the OS the program … | |
Hello... I want to change the TextBox border color if certain event is true. For example, in a GroupBox, there is a TextBox and a Button. If the TextBox is empty, and I click the button, I want the TextBox border color to change to red. If the TextBox is … |
The End.