Create A Simple Log Command?

Apr 22, 2012

I apologize if this question is something of the most simple, but I'm not even sure what terms I should use to search. What I'm trying to do is create a 'Sub' that will do something when I call it in another Sub, however I am unsure in how I would pass variables from one another. Here is what I have;

Private Sub Log
LogBox.AppendText(logstuff & vbNewLine)
End Sub

[code].....

View 2 Replies


ADVERTISEMENT

Modify The Simple Insert Command?

Jul 13, 2011

I need to modify the simple insert command code here

Private Sub SaveButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SaveButton.Click
Dim connectionString As String = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|DataGridSaveDB.accdb;Persist Security Info=True"

[code]...

it is Effective But I need to add a condition which is: Add only the rows where the column 4 is checked.

Note: the type of Column 4 is DataGridViewCheckBoxColumn

View 2 Replies

Simple Button That Executes A Shell Command

Oct 24, 2011

I haven't touched VB or Visual Studio in an incredibly long time, so I appologize if this sounds ignorant.

Right now, my application (pictured below) is a simple button that executes a shell command. I was thrilled that I even managed that, but it got me to wondering if my application could execute that command, rather than sending the process to cmd.exe.

View 4 Replies

Interacting Command-Line Applications - Put Together A Simple GUI For Ffmpeg

May 14, 2008

I'm trying to put together a simple GUI for ffmpeg (a command-line video conversion, encoder, decoder etc..), mostly for video encoding/conversion... Now I am able to interact with ffmpeg.exe (the command line app that does all the big conversion work) with the System.Diagnostic.Process class (I know how to start the process with the arguments I need etc..) But the problem is, when I'm converting a moderately long video file it can take several minutes to complete...

[Code]...

View 11 Replies

Create A (REALLY) Simple Web Server

May 27, 2009

I'm wondering, is it possible to create a (REALLY) simple web server in VB.NET? I may be wrong, but don't you essentially just need a listener for port 80 and a way to send pages to the client?

View 3 Replies

Create A Program With A Simple Gui?

Jan 4, 2012

Im trying to create a program with a simple gui that enables me to search for and select parent folders containing child folders containing multiple files and then validate those files based off of constants i set per child folder and file.

Example

User selects Parent FolderX
Parent FolderX > (ChildFolder1 ( Constant for ChildFolder1 says open file 4 ) > File 4

Compare multiple strings of text in a specific order based off of file name to constants i have set for that named file Then continue to ChildFolder2 ( Constant for ChildFolder2 says open file 16 ) > File 16 Compare multiple strings of text in a specific order based off of file name to constants i have set for that named file If there is any constants not read in one of the files after all have been checked, return msgbox with a notification and write .txt log with child folder and file names to specified directory?

View 4 Replies

Create A Simple CleverBot?

Mar 2, 2011

My professor said that if I create a cleverbot she will give me a high grade but the problem is I only have 2 weeks to do it. Please help me, i can connect vb 2008 to ms access ( i think i will need it)[code]...

View 39 Replies

Create A Simple Database On Fly?

Oct 31, 2009

I just want to be able to click on a commandbutton, menu_item, or maybe even a wizard at program install time, to make the database from scratch.

1) I do not care what type of database it is it is as long as it will run on any pc machine without having other programs installed except the one im creating.

2) I do not want to use access or the designers to create the database either

[code]...

View 7 Replies

Create A Simple Web Browser?

Sep 23, 2007

I am a beginer and I am trying to create a simple web browser using Visual Basic 2005 Express Edition.

Public Class Form2
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)

[Code].....

As you can see from the above code I do not have forward, back and stop buttons. Thats because I do not need them. The browser will be configured to go to a certain website directly.

What I need is this browser should be configured to use specific JRE. That is the browser should use ONLY JRE 1.3.1 or ONLY JRE 1.4.2

View 7 Replies

C# - How To Create A Simple Glass Effect

Jul 12, 2010

I am currently painting a light blue, partly transparent overlay over owner-drawn objects to indicate certain state. It's OK but I thought that it would be even nicer if I could at some sort of glass effect to further establish the idea that the particular object has "something" overlaid over the top of it.

I thought that some glass streaks, for example, in addition to the blue transparency would lend a nice effect.I've Googled around for GDI+ (and others) algorithms to do simple things painting like this but have come up empty. I prefer .NET but can figure out the painting from pseudo-code on up.

Sorry, shoul've also specified that I need to target WinXP and using .NET version 2.0 - So unable to use WPF or Vista/Win7 goodies.

View 3 Replies

Create A Simple Application Using Codedom?

Dec 18, 2010

today I attempted to create a simple application using codedom.Basically I want to be able to compile a messagebox with the custom text entered in the builder.

This is what I have so far.

ICompiler.vb Class "Codedom" Class and in my main form "the builder I have this

[Code]...

If no one could help me perhaps does anyone have a simple source example?

View 1 Replies

Create A Simple Application Which Has 2 Forms?

Apr 20, 2010

I wanted to create a simple application which has 2 forms.the first one contains a combobox which has the list of names of reports.now i select this report and click on next which takes me to the 2nd form.there i have to enter 4 values(or parameters)like the date from and date to and other 2 values...using these 5 values i want to retrieve the respective reports from the archive folder based on these parameters...i just know how to select and move to the second form from the first..how do i achieve my goal of retrieving the pdf files.i want the result in a table form which will have column names of the parameters i pass and the last column with the report pdfs.

View 6 Replies

Create A Simple Calculator Using Only 1 Textbox?

Mar 29, 2011

I want to create a simple calculator using only 1 textbox , 1 button and 1 label, but I don't know how to create the code.

for example if i write : 53+35-33=

and if i press the button it will calculate and the answer the label will show the answer (55).

View 3 Replies

Create A Simple Cash Register?

Nov 21, 2011

My assignment this week is to create a simple cash register. The kicker here is that I have to have an input box pop up to accept the data. I know I need to use a Do Loop here, but I' not sure what the proper condition should be. Hitting cancel on the input box or inputting nothing ought to terminate the loop.

Private Sub btnCheckout_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCheckout.Click
Static decPrice As Decimal
Static intCount As Integer
Static decSub As Decimal

[code]....

View 1 Replies

Create A Simple Clock With Different Time Than PC?

Oct 25, 2008

i want to create a simple clock with different time than PC.I mean to say that application will as a user to input time in HH:MM:SS format and after it is submitted clock start from that time.

View 2 Replies

Create A Simple Controllable 3d Cube?

Jun 3, 2010

how to create a simple controllable 3d cube? I think the code should go in the form.paint area, but i dont know what exactly to put..

View 2 Replies

Create A Simple Dotnetnuke Module Without DAL?

Jun 25, 2010

I want to create a new module in DNN (VB) ... that;

1. does not use DAL or DAL+

2. has only one view.ascx control

3. It has to be a compiled module

I do not need DB connectivity and any bells and whistles just one view control. I thought it would be simple but googling for a day now and it seems very complicated.

View 1 Replies

Create A Simple DVD Player With Program?

Apr 26, 2012

I am trying to create a simple DVD Player with Visual Basic 2008 (Express). But I am trying to find this item for the Toolbox-"MSWebDVD".

Does anybody have, like a download link to get it for VB 2008? If you do provide me with a download link, then I would kindly ask to tell me on how to apply it.

View 3 Replies

Create A Simple Shortcut To A Specified Program?

Mar 5, 2012

I would like to create a simply shortcut to a specified program. All of the codes I've tried use the WshRunTime library and it seem to throw an exception every time.

View 3 Replies

Create Simple Login Console?

Jan 5, 2012

I wrote webbrowser program with .net. but it's something i need to know it's irrelevant about webbrowesing.. i create simple login console?

View 1 Replies

How To Create A Simple Auto-generated Id

Nov 15, 2009

as I'm starting at this I'm very confused trying do this stupid code in visual basic 2008 in .net : Each time i create an instance of clsTest (for example) i would like to do an attribute call mID that adds 1

For example:
instance 1-
mName = test1

[code].....

View 3 Replies

How To Create Simple Address Book

May 20, 2010

How to create an address book in visual basic? I have the VB2008 express. Just a simple one. FirstName, LastName and Phone. I should be able to add from there. The resulting file could be an excel based or text file. I do not have Microsoft Access at home.

View 6 Replies

Create A Simple Chat And Server Application?

Jun 8, 2012

i want to create a simple chat and server application but i dont know where to start in socket hope someone will help me to create the application.

i found some tutorial in .net but it doesn't explain the code.

View 3 Replies

Create A Simple Class - ASP.NET | Dream.In.Code?

Feb 20, 2010

I recently started working with Vb.net and I am just trying to create a class that has two properties one is StoreName and the other is StoreImage. What I am trying to do is figure out how to create objects using this class? Each object will be a Store that has a corresponding Name and Image to go with it. Here is the code I have written so far although I am not sure if im headed in the write direction with the function. Also not sure if it matters but I am using ASP with VB?

Imports Microsoft.VisualBasic
Public Class Store
Dim NameofStore As String
Dim ImageofStore As Image

[code]....

View 2 Replies

Create A Simple Macro In Order To Run A For Loop?

Aug 19, 2009

I am using Excel 2003 and I am wanting to create a simple macro in order to run a for loop and then have the information output the numbers to cells.

Sub ForTest(i As Integer, j As Integer)
For x = i To j
y = Rnd
Next x
End Sub

This is my code. Now how can I print my x values to the A column and print my y values to the b column so that they line up as a pair of coordinate points.

View 2 Replies

Create A Simple Outgoing Telephone Dialer?

Jan 19, 2009

It doesn't look like much is out there after searching but I was wondering if anyone has seen any vb.net projects to create a simple outgoing telephone dialer? Maybe something that can talk to a PC modem?

I'm not sure but was even wondering if this is something that can be done in a procedure? Doesn't look like there are any features that lend itself to it.

I thought also, I may do something with an RS232 stream and then use an external hardware dialer.....if I did that, I'm sure I could do the code in a Sub.

View 4 Replies

Create A Simple Slide Show Using Timers?

Feb 14, 2011

I'm trying to create a simple slide show using timers.I tried this but doesn't seem to work.

Code:
Dim Count As Integer
If Count = 3 Then Timer1.Enabled = False
PictureBox1.Image = My.Resources.Water_lilies
Sleep(900000)

[Code]...

View 2 Replies

Create A Simple User Tracking System?

Nov 17, 2010

I'm trying to create a simple user tracking system so whoever has the program open can see who else has the program open. I know how to retrieve the username and everything. What I was doing was updating (loading and saving) a listbox with a text file on the network with the usernames in it. I can't get it to work right and I think its because the simultaneous opening and saving of the same text file by multiple users. I know this isn't technically the best way to go about doing this but it seemed like it should be the easiest. I don't want to make a huge project out of this because it isn't that important, it would just be nice.

View 7 Replies

How To Create Simple Points System For Game

Mar 30, 2012

I am creating a points system for a game, this is the code I have but it isn't working as I want it to.
Dim intScore As Integer = 10
Dim intNumOfGames As Integer = 0
intNumOfGames += 1
intScore = intScore - 2
The user will start will a score of 10, but everytime they click the button the user should lose 2 points off the score. But my code above that doesn't happen, when the user clicks the button it only happens once leaving the user with 8 points throughout the game.

View 1 Replies

VS 2008 Create Simple Calendar Control?

Jan 5, 2012

I want to create a calendar control to display employees vacation schedules for the year. It could be either monthly or scrolling weekly. It will draw its data from Access. I'm just looking for some general input on how some others might accomplish this. I know there are some paid options but my boss said I am on a $0 budget. A couple of ideas I had are:

1. Make a monthly view comprised of labels and textboxes for the actual dates. Populate the texboxes with a series of sql statements

2. Use a datagridview bound to a crosstab query, but I don't know how to have the datagridview show one week after the other.

View 11 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved