VS 2008 Might Be Simple, Might Be Hard: Reg_Binary?

Oct 17, 2009

I'm stuck at the moment gents, and would like to ask I have a registry value (reg_binary): B7 59 C4 4A I know that this value contains a Date and a Time, you guessed it

How to convert? I'm reading the value like this:

[Code]...

View 10 Replies


ADVERTISEMENT

Simple Inventory - Program Using Classes Hard Coded - Database Named "DATABASE" In Ms Access 2003

Sep 29, 2010

I want to create program in vb2008 express with ms access database. Can somebody help me so i can learn how to program using classes hard coded. I have learned vb6 before but it has a big difference on vb2008.

I have a database named "DATABASE" in ms access 2003 and the details are: Table :

EMPLOYEE(EmpNo, EmpName), DEPARTMENT(DeptID, DeptName), CATEGORY(CategoryID, CategoryName), SUPPLIER(SupplierID, SupplierName), ITEM(ItemID, Itemname), ITEMLIST(ItemListID, ItemID, ItemDescription), INVENTORY

[CODE]...

All the CAPITALIZED name are Table and all items inside the parenthesis are fieldnames. I don't know where to start on working on this RECORDS. I was able to understand visual basic 6 a bit, and i am trying to apply the coding to VB 2008 but all i get is errors. I am hopeless now and i need help to be able to start my programs. If someone can give me a sample code, i think i would be able to trace the line of code to be able to understand it. I am currently an inventory manager on the small company i was working with and i like to organize my record by using database.

View 1 Replies

Write Reg_Binary Hex To The Registry?

Nov 12, 2009

Im trying to write Reg_Binary hex values into the registry using vb.net 2008, but am not sure how to do it. Is there an easy way to do this?The Hex Value im trying to enter is:8000000ffffffff03000000030000006b0000002200000000000000de02000000040000030000I've been successful using the following code for eg_DWORDS:My.Computer.Registry.SetValue("HKEY_CURRENT_USER\Software\MYKEY", "MultiRun", "1", Microsoft.Win32.RegistryValueKind.DWord)

View 4 Replies

Decode The Reg_binary To Readable Ascii?

Jan 2, 2010

i have been working on VS 2008 for past 6 months and right now i am working on some little project which requires the value in reg_binary in XP to be decoded to readable string of the original form

View 2 Replies

Edit Value Of A Registry Key Of Type REG_BINARY?

May 20, 2010

I want to edit one of the bits in the DefaultConnectionSettings key under [code]...

View 6 Replies

Read REG_BINARY Type As String Or Date?

Apr 30, 2011

I need to know how i can read REG_BINARY Type as string or date

View 2 Replies

VS 2008 Get The Hard Drive Name?

Mar 26, 2009

is there any way to find out the hard drive that windows is installed in? (local drive?)

View 4 Replies

VS 2008 : Looping Through All Directory's On The Hard Drive?

Oct 6, 2010

i have this piece of

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim strFileSize As String = ""
Dim di As New IO.DirectoryInfo("C:")

[code]....

and it works just fine. However, saying that, i need to find a way to loop through ALL the directory's on the "c" drive and not just the main folder.

View 5 Replies

VS 2008 Get The Hard Drive Serial Number?

Mar 6, 2010

How can i get the hard drive Serial Number.The Physical one only I spent 1 hour on google the only examples i found all had errors

View 18 Replies

VS 2008 Locate The Hard Disk In A Computer?

Oct 3, 2010

i would like to know how locate the hard disk in a computer. For exemple I have 2 hard disk : C: and E: I would like to locate them and list them in a textbox for exemple.

View 11 Replies

VS 2008 Optical / Hard Drives Control

May 23, 2009

I want to make 2 dynamic comboboxes; The first will list all the hard-drives/thumb-drives etc, the second will list all the CD/DVD drives.Beneath each combobox there will be a set of buttons that control the selected drive:Beneath the hard-drive combobox there will be two buttons: one is "open" (will open the select drive in explorer) the other is "remove" (checks if the selected drive is removable and if so safely removes the drive).Beneath the CD/DVD combobox there will also be two buttons: one is "open" (will open the drive's contents, if present, in explorer), the other is "autorun" (will execute the autorun for the disc).

View 18 Replies

VS 2008 - Hard Drive Real Serial Number

Mar 6, 2011

PHP
Dim searcher As ManagementObjectSearcher = New ManagementObjectSearcher("SELECT * FROM Win32_PhysicalMedia")
For Each wmi_HD As ManagementObject In searcher.Get()
MessageBox.Show(wmi_HD("SerialNumber"))
Next
I am using this code for getting hard drive serial number its works ok with me but not working on my friends system and return an empty string.

View 4 Replies

VS 2008 : Scanning A Hard Drive For A Certain File Type?

Mar 29, 2010

I wrote a program that can kinda of read Docx files. I can extract the text of the file and the metadata that word puts in the file not the stuff you see when you write click and go to properties. I Can extract and view that data I'm working on making the subroutine (i don't know if its an algorithm there is no math.Anyway I want this to be a forensic program where it will scan the whole hard drive and add all the docx files to a listbox. I found this code

Dim file_names As ReadOnlyCollection(Of String)
Dim directory As String = "c:"
Dim searchFor As String = "windows"

[code]....

but some folders that where hidden like $inplace they were left over from my windows 7 upgrade. they cause it to crash. is there anyway to be able to scan every folder on the PC. I tried launching the complied .exe by right clicking and hitting run as admin but it still crashed when i executed that code.

View 11 Replies

VS 2008 Reading Local Hard Drive Serial Number?

Oct 29, 2009

My Dad made an application which had a feature that i want, basically his programme reads the users hard drive serial number and then multiplies it by say 12 and then divides it by 7 for example. This number is then shown as a 'Authorisation Code' which the user has to email to him and then his breaks it back down to the original hard drive serial number which he sends back which is the application serial number to activate it. I want to know how to read the actual hard drive serial number or a number that every computer has so i can do the same but i have searched everywhere and cannot find any examples for VB 2008 apart from one which didn't work

View 8 Replies

Post A Simple Code Using VB That Start Building Simple Games?

Jun 10, 2011

Is there anyone can post a simple code using vb,that start building a simple games ?

View 2 Replies

Make A Simple Browser With Some Simple Addon's?

Dec 9, 2011

Trying to make a simple browser with some simple addon's. What Ive done is setup a menu(forum) for the user to enter their email providers web address and it will save it in a xml file. When they click on the email link, it should load the email xml iformation and place that info in the tb_html.text and navigate. I keep getting a null exception and im not sure what going on here. Here is the code:

Browsers:
Private Sub btn_Email_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_Email.Click
'Load Action
Dim SavedEmailObj As Storage

[code].....

View 2 Replies

VS 2008 Simple (using Multivariables)

Dec 6, 2009

One day i decided to make Checkers (the game). Black and white circles are moving cross the field made of buttons. And i had to program each button (32 buttons) several times for each condition (moving black, moving white, black eating white, white eating black, black won, white won, whose turn it is...) Count that and multiply it by 32. It is really big code for something that simple.

if i can use one function for making all that conditions.
Let's use more simple example: tic tac toe game[code...]

View 2 Replies

VS 2008 Simple Serialization Anyone?

Aug 19, 2009

I am making a FlowLayoutControl panel which the user can edit by dragging controls onto it in any required order. The controls are mainly (subclassed) Buttons and (subclassed) TextBoxes, plus perhaps a few labels. There might easily be several hundred of them interspersed at random. I need to be able to save the FlowLayoutPanel and/or its list of controls to a file, and then restore the whole thing again later when needed.If I am not mistaken, this will involve serialization -- a subject about which I presently know next to nothing. I have tried trawling the web for introductions and relevant examples, but I am suffering from information overload. There is so much written about serialization that I don't know where to start.As I can't spend too much time on this, I'm hoping there is some simple way through all the complications. Can anyone here explain, or point me to, the basics needed for saving a control like my one?

View 5 Replies

Make A Simple Web Browser In VB 2008?

Jan 16, 2010

I am trying to make a simple web browser in Visual Basic 2008 (with Visual Studio 2008 Professional Edition) that uses the Gecko engine via a tool called GeckoFX and the XULrunner's dll's and resources.About GeckoFX - geckofx - Project Hosting on Google Code The book I am learning VB with hasn't covered this aspect yet but I almost have it all set up - this is just a side project I decided to play with because it looked really easy.

The Problem:

[code]...

I have downloaded both the GeckoFX package and the XULrunner package and unzipped them and placed the GeckoFX folder and the XULrunner folder in C drive.I have right clicked Choose Item in the toolbar and chosen the GeckoWebBrowser control to use in my form app.I know the path to the XULrunner runtime is C:xulrunner My browser only has the windows form with a text box, a button and the GeckoWebBrowser control.Now I need to set the call for the uxlrunner startup path where it needs to be. I have read that if I right click the project in Solution Explorer, I should see this option under properties.. but I do not see anyplace to do this

View 5 Replies

VS 2008 Best Way To Draw This Simple Graph?

Apr 10, 2010

Will any of the free light-weight charting libraries; ZedGraph or NPlot, be able to draw a simple graph similar to attached image (no waste of space, and with colored plot areas)? This plot will act much like the task manager "CPU Usage" plots, with update of last value every 500ms, but only making a new datapoint every 1 minute or so.

Or is this so extremely simple that it's better to hard-code it? What classes should I look into for this?

View 3 Replies

VS 2008 How To Make A Simple Line

Mar 25, 2009

Where is the Line Control??I want to make a simple line on the form..

View 10 Replies

VS 2008 Simple Compare Statement?

May 27, 2010

I'm pretty new to VB.NET and I'm looking for a comparison to do this:

For Each c As Control In Me.Controls
If TypeOf (c) Is ComboBox Then
If c in (combo1, combo2, combo3, combo4) then
' do some crazy stuff
else
'do other things

[Code]...

View 6 Replies

VS 2008 SIMPLE Login Form

May 20, 2010

I haven't used VS in awhile and now I need to use it and I forgot it all. Anyways, I need to know how to create SIMPLE and easy login form nothing special. I just need it for a school project for a sample type game. I want to show a login screen for it, and I forgot how to make one. I'm using the premade login screen that they provide. On the add module part.[code]

View 5 Replies

VS 2008 Simple Network Client

Jun 19, 2011

I've written an app that gets an integer value every 500 ms from a MCU over usb. Works great. I want to get that same value over TCP/IP. Programming the MCU is no problem The problem is in VB.Net. I've read a bunch of sites and they seem to be overkill to what I want and just don't work for VS 2008. I just want to get that value and then manipulate it. I've tried the 'system.Net.Sockets' import and dimmed a 'New TcpClient', but one of the sites said to call the tcpClient.connect method and that doesn't come up in intellisense. Can someone help me just connect to a server with known IP address and Port, and read the integer 'x' every 500 ms?

View 8 Replies

VS 2008 Simple Print Report

Feb 23, 2012

Can anyone point me to the right thread where theres a guide how to make a simple print report from .net 2008..Basically what i need is a simple report database is ms access and the database is dynamically stored on a string,on vb6 its something like rpt. but on 2008 i don't know really how to implement this one.can anyone help me work like a dynamic or on a hardcode program,not on a static settings.

View 5 Replies

VS 2008 Simple Search Form?

May 5, 2009

First (and definitely not last) post here. I need help with creating a search page for an application. All that needs to be done is create a search that gets the results from a database that was created. Can someone point me in the right direction of a good tutorial? I can't seem to find one.

View 1 Replies

VS 2008 Simple Search Function?

Jun 6, 2009

I need help with creating a simple search function for an app im making. It shows recipes of various drinks.I want it like when I press "Search" on the main menu a new form should open containing all I need to search for a drink E.g if I search for "A night of passion" it should look through all the forms and then open the form containing the choosen drink.Could something like this be possible?

View 21 Replies

Host A Simple WCF As A Windows Service In 2008?

May 9, 2011

I have a (very) simple WCF written in VB which I can build and publish locally to IIS. Works great.

What I need to do is (somehow) deploy it to a different server which does not have IIS. It's supposed to be run as a windows service.

how to do this. All directions on MSDN seem to be for VS 2010 (we're using 2008).

View 1 Replies

VS 2008 : EndEdit On Simple Control DataBinding?

Mar 27, 2010

I have bound TextBoxes. When I edit anything, I have to move to the next or previous record before calling the Update Method for that record to be updated. With my DGV, I use

vb
Me.dgvSalvageListing.EndEdit()

and it will update as expected. So, how would I do something similar to my Simple Controls?

vb
Private Sub UpdateDb()
Try
' Write changes back to db

[code]....

View 1 Replies

VS 2008 : Make A Simple Character Converter?

Jul 27, 2009

I'm trying to make a simple character converter i.e. (A converts to O) or (C converts to V) I need to make defined parameters for the entire alphabet.I have two text boxes set up and a command button. I'm trying to make it so the text inputted into the first textbox is converted (using the defined parameters) Into the second textbox with a click of the button.

View 5 Replies







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