Understanding Eprom Emulator Command String

Sep 19, 2011

I'm working with an eprom emulator in trying to understand the command string write instructions. Here is what I have. [code] From what I know, the values in hex need to be converted to decimal first. What I'm not sure about is the checksum value needed. The instructions say Checksum =(1 byte truncated addition of all the above).

View 4 Replies


ADVERTISEMENT

C# - Good 3270 Emulator (.NET)

Jun 24, 2011

What is a good 3270 emulator(which can login, scrape screen, find text, send keys etc. in background) for .NET(win n web). Something very similar to [URL](apparently zephyr costs like $5k per year, which is quite a lot, for one pc).

[Code]...

View 2 Replies

Sendkeys To An Emulator Or To Another Window?

Nov 6, 2010

I can sendkeys.send, and can sendkeys.sendwait to other games, before.I could even control my necromancer on Diablo 2, GAME. make him walk, and attack and such.I could even control Knight Of Honor, and Sims 2, and Sims 3. Sending Keys.That was easy, and the applications listen to me.I can even sendkeys to Flash Game, Super Mario, online, on a Web Browser, ...

Why Can't I Sendkeys to Nestopia, or some other games, I don't remember anymore, but now I am trying to make a cheat, when Mac gets punched out, In Punch out, that I want the application to press the A & B Button, FAST, and Repeativly, ... why doesn't Nestopia listen to my application, and why isn't it allowing me to Sendkeys to it?This is very cool, because I've never Imagined me being able to use my Programming experiance to Sendkeys, lol, to a game, I played over 20+ years ago, who'd imagine that I'd be able to do that 20+ years latter, ...

Imports System
Public Class Form1
Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick

[code]....

View 4 Replies

VS 2010 Keyboard Emulator?

Feb 17, 2012

So what I've been trying to learn how to do is create a command console program so when I open it up it will execute a series of keystrokes, i.e I want to create a program that when I open it a cmd will open and automatically open up itunes and press podcasts the ctrl u to update them. How would I could that?

View 1 Replies

[2005] CMD Console Emulator?

Jan 26, 2009

With much help from the forum I am almost there with my project to emulate a cmd console using a form with a textbox (txtResults) to display the output of the (hidden) console, and another textbox (txtCommand) for me to type in commands, and send to the console with a click of a button (Button1).

The following code now almost emulates the cmd console exactly, but just one little bug still to iron out:

Look at the following pairs of screenshots from a cmd console and my emulator, and you will see the difference.

[Code]...

View 1 Replies

Game Programming :: Chip 8 Emulator In .Net?

May 8, 2010

i am trying to create chip 8 emulator in vb.net, i have coded all opcodes so far but the real problem is in drawing sprites as i have really dont have any idea of graphics and how to draw pixels. i have these two function that will draw pixels on a picture box..

Code:
Sub DrawSprite()
v(&HF) = 0
x = v(opcode2) * 4
y = v(opcode3) * 4

[code].....

the problem Picture.Point and Picture.Line is no longer supported in vb.Net so ho to improve DrawScreen() function?

View 3 Replies

Different Behaviour Of Offset For Seekorigin.end For Emulator And Device

Jun 30, 2010

I have a smartdevice program. In this program, I have the following statement: xxx=mstbinreader.BaseStream.Seek(offset, SeekOrigin.End) When this program is run for Windows Mobile 6 Professional emulator and Windows Mobile 6 Professional device, following is observed: When offset is zero, both emulator and device return 20,467,484

[Code]....

View 1 Replies

Way To Use String.split Command To Get Section Of A String Without Using Intermediary Array?

Aug 27, 2009

Is there a way to use the string.split command to get a section of a string without using an intermediary array?for example, if my string is "1 2" and I want to get the "2" part using string.split(" "), is there a way to avoid creating a new array, and just get the bit of the string I want in a single line?

View 4 Replies

Getting Data From A Terminal Emulator Using Webbrowser Control Or Using The HTEcab.dll?

Jun 17, 2009

The control behind the scenes is "HTEcab.dlI can bring it up in the toolbox, but I don't know how to make it work. There is no documentation I know of.So, I tried using the webbrowser control and going to the web location where the Terminal Emulator resides It is the ite and the private page is Sabre_view.asp (AKA WebPCFos).This brings up the terminal window and you can access the companies info thru this 60"s style technology.

Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted

[code].....

View 1 Replies

Kinect Multipoint Project In Alpha Stage For Emulator Section?

Feb 22, 2012

I found out how to get the emulator working for my kinectmultipoint on 32-bit and 64-bit machines (i still need to confirm 64-bit by tests but 32-bit works). I used the webbrowser controls invokescript property and placed my vbscript code in an html page to tell internet explorer engine to pass script to correct version scripting engine when executing the vbscript.

after using navigate property I use these lines of code:

In form load: 'setup the softehci controller before executing dsf code!

Shell("C:Program Filesdsfsoftehcisoftehcicfg /REMOVE")

Shell("C:Program Filesdsfsoftehcisoftehcicfg /REMOVE")

In button1 click event: Webbrowser1.Navigate("path to html file with vbscript")

Webbrowser1.Invokescript("my vbscript method")

Note: i think this approach only works in local mode not on a web server or such.

So if anyone wants to check up on the project or help me i just need to change the vbscript to add multiple mouse devices and then i portion it up to do these three main functions:1. Add a new mouse device when kinect detects another person walking up to computer.

View 2 Replies

Understanding The PDF DOM

Apr 29, 2011

I am writing an application that has to read and interpret data stored in some PDF files. The reading part is done but I am only able to get a dump of all the words on a page and not the format of the words. What I mean is that if I have to extract a table, I am getting the numbers in the table but not the markup which defines the table.

Further, there is some formatting used which displays a few of these numbers within parentheses (meaning that those numbers are negative) but the parentheses themselves are not part of the text. Hence, I am not able to distinguish between positive and negative numbers present in the PDF table!

How do you get the PDF markup along with the text? Is a PDF similar in structure to an XML with tags used to markup tables etc.? If not, then, is there a resource which describes the salient features of the PDF DOM? I am using VBA and the Acrobat library (AcroExch etc.)

View 4 Replies

Understanding And Using Predicates

Dec 7, 2009

I am trying to use my first predicate and I generate the error:Method 'Public Function FindIndex(list As MyProgram.HTMLFiles) As Boolean' does not have the same signature as delegate 'Delegate Function Predicate(Of T)(obj As String) As Boolean'.[code]

View 12 Replies

Understanding RTF And Edit It

Mar 15, 2010

I have this RichTextbox in my vb.net form and I would like to when a user click a button, for example to embold the selected text, how would I do this.Also, I do NOT want to use the standard vb.net expressions such as RichTextBox1.SelectedText.Font.Bold = true. I want to do something like RichTextbox1.SelectedRTF="[bold]" & RichTextBox1.SelectedRTF & "[/bold]" or whatever RTF looks like.Can I just add the RTF options random places or can a RichTextBox return an error if the text is in wrong format. I'm mostly looking for info on how to work with RTF without using the standard vb expressions.

View 1 Replies

Understanding Use Of DWORD

Jun 16, 2010

My goal is to read a data streaming from a machine the streaming is divided in tre main parts,the first is a 10 byte array that declare the length of the second and third part.The second one, the header, is a 22 DWORD (*32bit) ( 88 byte ) structured of mixed data types.I can easly read the value inside this header when the DWORD contains just one information using something like: [code] My problem starts because some of these DWORD contains several indipendent informations, for example DWORD #4 [ channel 2 peaks 31..16] [channel 1 peaks 15..0].For what I understood the first 16 bits ( so 2 bytes) are used to store the information of the first channel , while the second 16 bits are used for the second channel, I tryed converting the first 2 byte with System.BitConverter.ToUInt16()but without success.Can someone explain me what to do and how these numbers are supposed to be stored?

View 6 Replies

Stuck Understanding OO Concepts?

Dec 14, 2010

so i have a class called FOOTBALL,then another 3 classes/forms that inherit FOOTBALL, they control score (SCOREBOX), possession (POSSBOX), and quarter (QUARTERBOX).the FOOTBALL class has 4 variables, "score" (array of 2 ints), "teams" (array of 2 strings), "possession" (boolean), and "quarter" (int)after that i have another form called MAINBOX, which creates new instances of the 3 classes (SCOREBOX, POSSBOX, and QUARTERBOX) (like this: private scoring = new SCOREBOX)... however they all technically create their own FOOTBALL classes, so I cannot connect them.

View 4 Replies

Understanding Event Statement?

May 29, 2009

I started out with VB.NET but now mostly do C#. I never really got to grips with events in VB. I'm trying to translate an old VB.NET program (from 2002) into C#. I've dealt with everything apart from statements such as these:

Public Event UpgradeProgress(ByVal strProgressString As String, _
ByVal strCurrentFile As String, ByVal intProgressPercent As Integer, _
ByVal lngTimeRemaining As Long, ByRef blnCancel As Boolean)

[code]....

View 4 Replies

Understanding In-memory Compiling

Feb 27, 2010

It is my understanding that in .Net 4.0, VB will have an in-memory compiler.

I have to admit I don't know a lot about the compilers so I'm trying to understand the advantage of this as compared to what we had before this. Also, will C# be coming out with the same type of compiler?

View 2 Replies

VS 2008 Understanding HtmlElementCollection?

May 25, 2012

I'm confused on the results of this code. The results extracts the tag "div" but why isn't the results containing the word "Yoga"? Shouldn't the result have only one element because it should exit the for loop after finding the first element? The results show hundreds of elements

Dim ElementCollection2 As HtmlElementCollection = WebBrowser1.Document.GetElementsByTagName("div")
For Each curElement As HtmlElement In ElementCollection2

[code].....

View 4 Replies

Run A String As A Command?

Sep 15, 2010

i am running a Sub which takes as arguments a Datatable and a String.

Private Sub Populate(ByVal dttemp As DataTable, ByVal strWhichPart As String)

At one point there is a combobox which is populated with some of the data in the datatable. The name of the combobox is cmd plus the name of the string for example when the string is Person_FirstName the name of the combobox is cmbPerson_FirstName.Then i add items to the combobox like this:

cmbPerson_FirstName.Items.Add(strHold(rr))

My question is this can i make a String into a command? Because i have many comboboxes which have the same name as the string argument of the sub how can i do something like this to work

strWhichPart.Items.Add(strHold(rr))

in which strWhichPart is a string. Is there a command that i can execute a string as a command?

View 3 Replies

Annotating Some Code And Understanding What Arrays Are Doing?

Dec 1, 2011

I wanted to know what the main areas are and what the array is actually doing in the code. I know that dim is declaring the variables, but how do i exactly explain this code line by line.

PS: the areas in red are the main areas im trying to understand annotate.

Public Class Form1
Private Sub Label1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label1.Click
End Sub

[code]....

View 4 Replies

Homework - Net Abstract Class Understanding?

Dec 28, 2011

If i have a class called A and a class called B, if B inherits A that means A is the super class and B is the subclass. I have been asked to describe why class A is not an abstract class but as i see it class A is an abstract class A, as it has been created for Class B to use in the future, is it something to do with Class B not being able to access the fields in Class A as although they are private by default?

[Code]...

View 3 Replies

Multithreading - Understanding The Way Application.Run() Works?

Nov 4, 2010

As far as I understand from the docs, it seems that Application.Run() starts a message loop on the current thread, which in turns enables it to process user input (Is that right?).The overloaded version Application.Run(Form) basically does the same, only it exists when the form closes, and it shows the form by default.timer ticks after 20mns, and has to execute say approx. 15 tasks one by one, every time creating an instance of a progress dialog, initially hidden in the taskbar.

View 1 Replies

Understanding AndAlso - Get A Runtime Error?

Oct 5, 2011

Looking at the following code snippet in VS2008 (this is from the SBS book)

Dim HumanAge As Integer = 0
If HumanAge <> 0 And 7 / HumanAge <= 1 Then
MsgBox("1 dog year or older")[code]....

I expect to get a runtime error, because And evaluates both conditions, which is why in this case AndAlso should be the better operator to use. When I try this code there is no difference in behavior between 'And' & 'AndAlso'. In neither case I get a
runtime error, not even when I flip the conditions around. Is this by design, a lucky accident, or do I just not get it?

View 5 Replies

Understanding ItemsSource And DataContext In A DataGrid?

Jun 14, 2010

UPDATE: See the bottom of this question for what I did to solve the problem.I'm trying to understand how the ItemsSource and DataContext properties work in a Silverlight Toolkit DataGrid. I'm currently working with dummy data and trying to get the data in the DataGrid to update when the value of a combo box changes.

View 2 Replies

Understanding Object Aggregation And Databases

Aug 24, 2010

I have a situation in a program I'm writing where I'm not sure of the best way of coding a couple of objects and was hoping for a few pointers.I am using VB.NET 2003, so F/wrk v1.1. My business is horticultural in nature and I'm trying to help streamline the business with a new order fulfillment app.In my program, I have products. Some products don't have any component parts, but others are made up of a selection of plants.For example: we sell a trowel, which obviously doesn't have any component parts. But we also sell a large vegetable garden, which is made up of, say, 20 rocket plants, 30 salad plants, 5 spring onions, etc.[code]I believe the ProductContents table is technically referred to as a 'join table'?

I have written the classes in VB.NET which load, save, edit the Products and the Plants. I also have Manager classes which store collections of these objects (ProductMgr, PlantMgr).I have dealt with situations before with join tables where there are only two columns which are both FKs and both make up a composite PK (ie - to express a one-to-many relationship). This is pretty straightforward (using my product/plant tables as an example) because when I load an individual Product from the database, I also run a second SELECT query which returns any PlantIDs associated with that PlantID from ProductContents. I store that in an array of integers within the Product object. I can then load Plants from the PlantMgr object based on the PlantIDs stored in this array. I kind-of do the reverse when I save the Product to the database, I run a second INSERT query which updates the ProductContents table with the Plants associated with the Product.Where I'm getting stuck is with the inclusion of the extra 'Quantity' column. I can no longer store the PlantIDs in an array of Integers because I also need to store the Quantity associated with that Plant. I also can't use the PlantMgr object any more (to express which Plants are in each Product) because it also doesn't include any information about Quantity.I was just wondering if there is a standard way of handling this kind of situation, where I have a 'join table' which also includes extra columns as well as the two columns that identify the join.

View 1 Replies

Understanding Why FTP Upload Doesn't Work?

Apr 3, 2012

I'm trying to figure out why the following VB.Net code seems unable to upload a file to my ISP's FTP server, since it doesn't report any error but I'm not getting the notification e-mail I'm supposed to receive once a file has been uploaded.So I launched the free Fiddler proxy on 127.0.0.1:7777, but it doesn't report any activity, even with its "Capture FTP Requests" option checked:[code]Is there a way to watch the FTP session to understand why the file seems to be uploaded successfully but I'm getting no success notification?

View 4 Replies

Understanding Xml - Saving, Loading, Manipulating?

Aug 15, 2009

a member mentioned, xml is similar to a txt file. txt files, i can manipulate quite well. so, if this is the case, it should not be to complicated to do as the thread title describes . that, of course is, if you already know how to even create an xml file. i do not. any and all input/suggestions welcomed, links for xml noobing welcomed as well.

i like: VB General google fast cars username password

View 11 Replies

VS 2010 : Understanding A Tick Method?

Nov 27, 2011

I am working on a project, but the latest enhancement to it has me stumped currently. Here is what the class enhancement asks for:

Modify class time to provide a Tick method that increments the time by one second. Also provide methods IncrementMinute to increment the minute and methods IncrementHour to increment the Hour. The Trick method, the IncrementMinute method and the IncrementHour method should be called when you click the Add 1 to Second button, the Add 1 to Minute button and the Add 1 to Hour button, respectively. Be sure to test the following cases:

A) Incrementing into the next minute.

B) Incrementing into the next hour.

C) Incrementing into the next day (that is, 11:59:59 PM to 12:00:00 AM).

Here is my GUI:

The reason I am confused is currently my program already increments the seconds, minutes, and hours correctly (as shown in pic) for Cases A, B, C. But, I haven't added a Tick method which is what the enhancement to the class Time calls for. Here are the 2 classes I have so far:Time Class that the Tick method is supposed to be added to

Public Class Time
' declare Integer instance variables for the hour, minute and second
Private hourValue As Integer ' 0 - 23
Private minuteValue As Integer ' 0 - 59

[code]....

View 2 Replies

Asp.net - SQL Command Cannot Be Converted To String

Oct 28, 2010

Here's my code

I seem to be getting an error SQL command cannot be converted to string with this code

Dim LogData2 As sterm.markdata = New sterm.markdata()
Dim query As New SqlCommand("Select * from openquery (db, 'SELECT * FROM table WHERE person=@person')")
query.Parameters.AddWithValue("@person", Session("number"))

[Code]...

View 4 Replies

From String To Maths Command?

Nov 15, 2010

I am trying to make a calculator (how original) but I am also trying to make it like a console. I have a textbox in which you enter a command and a list in which the lines appear.

My question is how can I translate the plain text which the user enters i.e 3*(2+4) to a maths command so that VB can display the answer?

View 9 Replies







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