Reference In Program To Create Their Own Hook Dll?
Oct 8, 2011I recently order to monitor third-party software program written in VB.NET to call their own
View 5 RepliesI recently order to monitor third-party software program written in VB.NET to call their own
View 5 RepliesI want to hook keyboard with vb , so that whenever my application written in vb runs it will capture all the keys pressed from the keyboard and show all the keys being pressed in a textbox on window's form
View 1 RepliesI created a vb.net application that reads a data file (SQL table) and creates contacts and groups from this data. If I run this application and point the Contact folder to my local Outlook folders, the application runs fine. It creates about 550 contact and 10 groups. My problem is when I go to run the application against a public folder that am the "owner" of with full permissions it will run fine until it hits items 250 and then I get a COM error.
[Code]...
Im trying to start a report that will generate a new word document and fill it with all the relevant bits and pieces im trying to figure out the relevant reference to add to the project but nothing springs to mind when im browsing through the references folderiv seen this and tried it and unfortunatly it doesnt work it says doesnt contain any public members or cannot be found
View 1 RepliesHow does the GC dispose objects created in the following 2 scenarios?
1)
Private Function DoSomething() As Boolean
Return New DatabaseManager().Insert()
End Function
2)
Private Function DoSomething() As Boolean
Dim mngr As New DatabaseManager()
Return mngr.Insert()
End Function
In Option 1, I don't create local variable to hold the reference of the object. In Option 2, I hold the reference in local variable.What option is better and why? (if any)
I'm currently starting a new job in which I will be working on some coding in the future and need some advice on some good places to start so I can learn this correctly. Essentially we need to bring VB4 code over to the new VB.net language and I will be tasked with this. The project consists of a large battery of tests for psychiatric patients consisting of mostly multiple choice questions presented one at a time - since VB4 isn't very compatible, I think I will create a new battery from scratch while using the old code as a reference point.
I started creating the code this weekend for fun and am really enjoying it. However, a huge problem has been the abandonment of control arrays in the new language... by the time I got to creating my first questionnaire I'm stumped and can't follow the old code. Clearly I'm not ready to tackle such a large project with no experience and need to start from scratch; who would have thought .
The reason why I'm here is not to ask you to help me with my work. What I'm wondering is if any of you have any cool advice of great places to start learning the language (books, websites, etc). The amount of literature is very overwhelming so I thought I would ask some people with experience for tips. If any of you have stumbled across learning material with emphasis on coding that would be useful in the design of questionnaires or multiple choice exams, it would be particularly useful.
So far my starting place is Visual Basic 2010 Step by Step with Michael Halvorson, it seems good at a glance in the sense that it couples theory with practice but I'm already sure I'll need a little more.
on vista trying to create a reference to a registered DLL which succeeds with VS2008 but not with VS2010 (get system cannot find the reference specified).on vista and win7 using dependency walker the DLL cannot find IESHIMS.DLL which is in the IE folder.
View 5 Replieshow to create a web service reference manually in visual studio. I do not want to use the "add reference" already contained in the ide.
View 6 Replies'This code usualy works when placed within the forms code, however I am wanting to create a class with several text manipulators. The error says System.windows.Controls is not defined
Imports System.Object
Imports System.Windows.Forms.Form[code].....
Does anybody know how to add reference of ADO in VS.net 2008?
View 4 RepliesI keep getting a null reference exception w/this program, and its on the line that declares the array. I've looked it over and over and I just don't see why... Can you let me know if you see anything obvious? I'm also getting an "index out of range" exception, but it looks right to me...I declared everything with an 11 for 12 months, 0 to 11 for the intcount.
[Code]...
I've made a program using Visual Basic Express Edition which references MySql.Data.dll (located at C:Program FilesMySQLMySQL Connector Net 5.2.3Binaries.NET 2.0MySql.Data.dll) which has been installed on my computer. But when I run my compiled program on a different computer (without MySQL Connector/.NET installed) I am unable to start the program as it gives me an error.
I'm wondering if there is a way to compile the dll with my program so that I wouldn't have to install MySQL Connector on the only computer it'll be executed on (I'm not sure if I have the privilege to install programs on it yet).Or is there a way I could import the dll at runtime which is located in the same directory as my .exe?
I need to reference a .net .dll file at runtime of my program.Does anyone know the code to do it?
View 3 RepliesI've got a requirement where I need to calculate a value, however also refer to this value when calculating it. So I've got for example[code]...
I can see how this can be achieved in excel using Circular Reference, however I'm not sure how I go about it when using VB.Net. Is there a similar method to create a Circular Reference as in excel or any other way I can possibly work out the TotalValue?
String s = "test"; String is a class, so to use it we should create an object of it. But rather we just make a reference of it and give it a value. How is it possible and what concepts are used in it. The metadata of String class shows the following :
[Code]...
Well for some reason when i try to add a reference so that the oracle database can connect to the VB.NET 2010 program.In other words it shouldn't highlight certain code as if the database is not connected.Here is a clear summery as best as i can say what the problem is.
1. Connection from Visual Studio 2010 to Oracle plus server
2. Adding References will not be allowed for some reason.
3. The code (See example below on what it might be) is still highlighted even when i added the references several times.
I'll show just a small snip of the code coz it's more or less the same on most of the forms if i want to either update, delete, add or amend to the database. I'll show a few screenshots so to be clearer.I've tried by even looking over the notes and followed step by step and nothing works.Since i am not registered in this module this time i can't seek help of the lecturer so don't bother telling me to go and ask my teacher I've pestered the supervisor that i'd have to present this project to and she hasn't replied to my email at all so i have no clue what else to do in the matter.
I have installed WCF / WPF Extension with Visual studio 2005.
I developed the sample WCF services and to consume it I have developed the client project.
In client project I need to give the service reference, however I noticed here Add service reference option is missing.
I have a standalone aspx with vb.net backend file. I need to import google api referance in this file. If i put this file in a asp.net application project, the referance gets imported easily by using "add referance". But when i use a standalone file, the referance cannot be imported.
How can i import this google api referance (or any referance) in an aspx file without having to make a project for it?[code]...
How do you remove a Reference from a Visual Basic progam?
View 3 RepliesHello I want to create a windows form application program that can create games something like Gamemaker or Klik & Play (butt less advanced) with D&D "Drag and Drop" events and actions.
View 7 RepliesTo create a program that asks for input then uses an else statement to create a handling fee balance.
Input: sales record - first name, last name, purchase amount, balance before purchase
Output: report - full name, old balance, purchase amount, handling fee, new balance
Definitions: handling fee is 5% of the old balance if the old balance is less than $1000.00 else it is 2% new balance = old balance + purchase + handling fee
Processing:
Ask for and receive sales information
Calculate new balance
Print output report
End the program when a purchase amount of 9999.99 is entered
almost perfectly works to disable specific keys. but 1problem. for example : checkbox1 checked and then press button1 L win key disable its okey.but then i press button2 to active keys and press again button1.this time not working disabling keys.
[Code]...
I have a text box. and I want to make an editor for it. I want the editor to export a file that the text box will get reference.
Example:I put "Hello!" on my editor then I then it will export a file.now when When I open my program with the text box,The text box should also say "Hello!"
I have a project to do for one of my classes that i need help on. Its and extra credit so im left on my own. Project Create a program to allow a student to create there own schedule. what i am trying to do is create a checkedlistbox for the student to check classes they are taking, and need something else to pop up or to show in another box or listbox the classes they can take for the next quarter. I know it has to do with if then statements but i dont know how to write basically:"if (class is checked in checkedlistbox) then ( these are the classes you can take)".
View 2 RepliesIs there any way I can install a global hook or something else on the start of external process. WH_CBT hook, as it appears can only intercept events for processes that have windows, but what if I want to intercept the start/stop of a windowless application or a windows service? Is there any way to do it using .NET?Generally, I want my application to receive a notification of some process being launched knowing only an executable name.Presently I simply use a timer to iterate through running processes, but I wonder if there a better way to do it?
View 4 RepliesI have an app where I need to hook into a particular control's horizontal scroll event. I'm not real experienced in hooking into Windows events.
View 1 RepliesI want to hook low level Mouse hook in vb, and after that I want to save the X-axis, Y-axis and clicks(Right/Left) into database for later use or automation..But I don't understand that how should I save the X-axis, Y-axis and clicks into a MS SQL databse and later retrieve them?
View 2 RepliesI'm writing a code to use it in a keyboard spy program , and I'm using hook techneque with this , but the problem is that : if I ForExamle clicked on Shift and number 2 it doesn't give me At (@), I want it to give me at (@) ..
[Code]....
I'm trying do capture the Excel event Sheet_Activate and put some information in a list box control. I can capture the event, but when I try to add some information in the list box controle, an error message is showed. Here is my code:
Imports Excel = Microsoft.Office.Interop.Excel
Public Class WorkbookInfo
Private WithEvents _ExcelApp As Excel.Application
[code]....
url...This example works on a my 32 bit XP machine, but it does not work on my Vista Ultimate 64 bit machine. The example is supposed to hook notepad so that whenever I type a character in notepad, a text box recieves the same character. This works on XP, but on Vista 64, nothing happens.I should probably say that when I first ported the example to Vista, I ran into 2 problems, which I think I correctly fixed.
1. I was getting a BadImageFormatException when the DLL was first trying to be accessed. I fixed this by setting the target platform in the VB project to be x86.
2. I was getting a DllNotFoundExeception, so I placed the "MainHook.dll" file in both:[code]I have a couple of theories, but I'm a bit of a beginner when it comes to hooking. Could this be happening because Notepad is a 64 bit application and the hook is written in 32 bit? I have the express version of VC++, so I can't create a dll targetted to 64 bit, so I haven't tried that.