I seem to have a problem with my DLL Function call test. I don't usally use orums...but...this is racking my brains and I need to know fast! I have searched and searched google, but I have no answer, (I do, but don't understand very well).I have created an application called epsControl.exe in Windowssystem32 folder. I have also created a file called epsDevDrv.dll or EPS Device Driver. It doesn't really act as a device driver, I just gave it a fancy name, (that's why I'm called the VB Weirdo.........) anyway to the point:My dll does a simple function, to answer a mathematical problem (simple), and return it to the exe file which puts it in a msgbox.

I have written an application that calls 'My.Computer.FileSystem.SpecialDirectories.Currentm UserApplicationData'. My application is working fine, but one user has reported an issue that has me stumped. When this property is accessed, the following exception is thrown:

"Unable to find an entry point named 'VerLanguageName' in DLL 'version.dll'". The stack trace says that the exception came from Microsoft.Win32.UnsafeNativeMethods.VerLanguageNam e(Int32 langID, StringBuilder lpBuffer, Int32 nSize)

I don't think the problem is with my code. I suspect that there is something wrong with a system-level component on her computer, particularly with the DLL that is mentioned. Is this DLL part of a specific windows component that could be reinstalled/repaired?

As an experiment, I created a separate library to hold a function, and then tried to call it from within an application.Normally, would I would expect to see in the code for the function declaration, something like this:Public Function MyFunction Alias "MyFunction" (ByVal X As Long) Export As LongVB uses the regular convention:

i know it might be impossible to achieve (as i've been reading from another articles) but does anyone know how to set a dll entry point in VB.net project? I have created a VB.net dll and trying to call that dll from cobol (unmanaged code). in Cobol, i can only use the entry point statement to call VB.net dll (cannot add reference to it). as consequence, i'm getting "called program not found" (or in VB error is equal to "can't find dll entry point")

I was playing with VB.Net yesterday using Visual Studio Express (VSE). I am trying to get a feel for the language. One thing that struck me was the fact that VB's entry point, Sub Main(), is written inside a Module, as opposed to inside a Class like in C#. At least that's how it appears in the books I'm reading. That got me thinking. Is it possible to change the entry point location from a Module to a Class, or for that matter to have Sub Main() completely outside these two constructs?

I search the internet and found out that VSE indeed allows one to changed the entry point through the project properties. So I set the entry point to Sub Main() and tried compiling the "Hello World!" project locating Sub Main() inside a Class construct. Well, that didn't work. I tried changing the name of the class to match the project name, but that didn't help. I didn't bother try putting Sub Main() completely outside a module or class figuring that would be impossible. However, while looking through various post in this forum, I got the feeling I gave up to soon. So here are my questions:

1. Can the entry point be within a Class/Form construct or completely outside any construct for that matter?

2. Can the entry point be some other Sub (e.g., Sub MyMain)

If the answer is yes to anyone of these questions, where do I set the option to make this work?

Recently, I upgraded VB6 project to VB.Net. After that I can sucessfully compile the project and generate a DLL file in the bin folder, but when I try to use regsvr32 command to register the DLL, I got error saying "DllRegister Server Entry Point is not found".

I need to create a COM-callable DLL using VB.NET 2010 that can be opened by a legacy VB6 application. I'm experimenting with a very simple demo example first. When I try to register the resulting DLL with regsvr32, it shows me this error:"DemoCounter.dll was loaded, but the DllRegister Server entry point was not found. This file cannot be registered."Here are the steps I followed:

1. Create new VB.Net project as a class library.2. Delete the class1.vb file it starts with.3. Add a new class from template "COM Class"4. Build the DLL and try to register it.

The class has the GUIDs, the <COMCLASS ...> stuff, and has a checkmark in the "Register for COM Interop" checkbox of the project settings.[code]

I have created a dll using class library in visual studio 2010. This dll calls another dll to perform some special calculations. I want to deploy the whole setup in excel vba and it had worked properly on the PC, on which I have generated the dll. The top cover dll is automatically registered in the registry list and i did not use the "regasm" to register it...

Now when i try to use this on a different PC (Win7 x64 OS, No Visual Studio), I'm facing problems. I am unable to register the dll with regasm, as I dont have it. When i use regsvr32 i get the Error "dll was loaded but DllRegisterServer entry point was not found"

I dowload winscard.dll(Version 5.1.2600.2180) from online to use inside my program. When I try to register it in both system32 and my project folder, I faced the following error. "winscard.dLL was loaded, but the DllUnregisterServer entry point was not found." I can't even unregister it.

We have some predefined strings that can be inserted into a text box during data entry via a button click. How can we track the cursor insertion point so the inserted code is in the right place if the user clicked somewhere in the middle of the data before clicking the button?

I'm creating a project with an Add-on system, and I'm releasing an API so people can develop for my application (its called Levanta, its a basic Sub-OS, and i want people to be able to develop for it). I try to call a sample DLL i made to test out the system i created. Well, i CANT, because its not finding the functions entry point of the said function (its named initialize)...?

I started making a game in VB.NET, but I am stuck on the pathfinder. There are round objects. I want to know how to find a path get one object from one point to another (or at least as close as possible) without any collisions.

I have scanned a map which was in UTM WGS 84 projection system. The scanned map is now in jpg format and loaded into picturebox. If I select a point, how could I know that point's latitude and longitude? How could I integrate a projection system over the image displayed in picturebox?

coming from VB6 I've been using the windows API for many years. Now I'd lke to do the same on .NetMy question is, what would happen if I build for 'AnyCPU' and the application calls Kernel32 while running on a 64bit machine ?

I want to migrate vb.net project onto linux platform using mono, but I am getting one problem system.dllnotfound exception: kernel32.I like to ask ,when does visual basic add this kernel32 dll. can I remove this kernel32 dll from my project?

I have a multi-threaded report engine application. I know that if I want to pause a thread for an interval I can use Thread.Sleep. What I need however, is to be able to suspend the entire process including all threads for a set period of time. In the past, I've used the Sleep API from kernel32.

It appears though that it's only "sleeping" my current thread and not the entire process which is not what I expected (now that I've read the documentation I realize that Thread.Sleep is probably the managed implementation of this API which is why it behaves as it does). So, my question, how do I force the entire application (and all of its threads) to pause the for the interval and not just the thread calling it? Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Int32)

I hve been working with points a lot recently, and I have been wondering if there is a way to set a point without setting point.x and point.y separately. For example for (3, 5): Point1 = (3, 5) But that isn't right

And I do likewise for the Revert brother function.This seems to work, as the shell command I call after actually finds its exe in system32, but I am not sure about the Revert, does it need a parameter? This Revert page seems to want me to take the output from disable and plug it into the revert call. Does that sound right? How do I change my DLLimport to take in a boolean and actually use it in the Kernal32.DLL function?

location of character in mixing laguage (e.g. farsi & english) sentence are different in memory and display , you can check it with point() all Instructions as LEFT ,RIGHT ,MID not work correctly when using it on the mix language sentence also GetPositionFromCharIndex(I) also not get position of the char user see on display...i need to have exact location point() of display character (from left or right side of text box)

I'm using Visual Studio 2008 on an XP machine. My other machine died so I had to re-install VS on a new machine. Everything worked find until I went to the new machine. Now I keep getting these 2 messages below when I go to build my solution:

I tried to remove the references to both .dll's and then re-add them in and that didn't work. I tried removing and re-adding stdole, and that doesn't work either. I tried installing VS on another machine, but I get the same messages there.

The only thing I noticed out of the ordinary is under Detected Dependencies, when I right-click on axinterop.mscomctllib.dll and view the dependecies, I noticed there is a yellow exclamation point in the icon for interop.stdole. I don't see any information regarding that exclamation point however.

I have developed a windows based application using visual studio 2005 called DMS. On the client side, this application runs on asp dot net framework 2.0. We have created its setup file which has to be installed on the client pc. After the installation of the application, some of the users get the error message as:

DMS.exe - .net framework initiation error Unable to find a version of the runtime to run this application

(I have also attached the screen shot of the error message.) Trouble shooting done by me:

a. I had tried the re-install Dot Net Framework 2.0.b. Scanned the PC for virus attack.c. Install dot net framework 2.0 first and then the application.d. Un-install and re-install the whole application.

But none of the solution works. The only thing that works temporarily is un-install the whole application and re-install it. Then it works for a few hours.

I just installed Lucida Grande font on my computer and I am unable to find this font when I add a label or text box control. I can see the font in the control panel and MS Word. What is the right step to see this font?

I have created a form for a user to create a booking of a meeting room, I need this form to do 3 things.have print functionality update the new booking to a dataset view the current bookings screen I seem to be struggling with the second task, when I try and save my new booking I get this error

System.InvalidOperationException was unhandledMessage="Update unable to find TableMapping['mtrbookings'] or DataTable 'mtrbookings'."Please see the code for my form.Imports System.Data.SqlClient

[code].....

I have not declaired any data sources, like a data grid view or the text boxes from which my information is typed by the user (text boxes).

i am pulling together a cash register that will allow both bar code product entry and manual key entry.imagine if you have a tin of beans in front of you, in a small corner shop they would probably type "47" and then hit "Produce". Fairly straight forward as I have the button Produce to act upon my code and update my salestrans.mdb but,if you scan the bar code I want the same form to handle both 'real' actions, (i assume that keyboard emulation barcode scanner includes "ENTER" after providing 13 digits)....

Q. in perhaps a long winded way i want to know how to kick off an event based on the "ENTER" key being activiated by the barcode scanner)?i do not want to have to hit any buttons if i am scanning bar codes.

What is the code for ignoring the case of an entry while checking to see if the entry is correct or not... (i.e. in a flashcard program... given definition, asks for the name) I don't want the case of a character to affect whether the answer is correct or not.

I have a Diagonal line drawn on a picture box on my forum and i need to know if the user has clicked the line I have the Start point and End Point of the Line and the mouse x,y location So i basically need to find out if the x,y of the mouse is on the line.

I have developed a windows based application using visual studio 2005 called DMS. On the client side, this application runs on asp dot net framework 2.0. We have created its setup file which has to be installed on the client pc. After the installation of the application, some of the users get the error message as:

DMS.exe - .net framework initiation error Unable to find a version of the runtime to run this application

(I have also attached the screen shot of the error message.)Trouble shooting done by me:

a. I had tried the re-install Dot Net Framework 2.0.

b. Scanned the PC for virus attack.

c. Install dot net framework 2.0 first and then the application.

But none of the solution works. The only thing that works temporarily is un-install the whole application and re-install it. Then it works for a few hours.

I have an application written using Visual studio 2005 (in VB.Net). When I run it on any machine I get "unable to find a version of the runtime to run this application and this same application successfully some other PCs[code]...

I have an application written using Visual studio 2005 (in VB.Net). When I run it on any machine I get "unable to find a version of the runtime to run this application" and this same application successfully some other PCs..[code]