In the start menu, where the shortcut to applications are usually found, under my apps folder theres an "Application Reference" file? where is the exe that this is supposedly referring to? I looked in local settings folder and theres nothing there? if i try to use the exe out of the release folder from my development computer on any other computer it gives me an "event type: clr20r3 system.invalidoperationexception". it only seems to work right when i use the click once to install.
If I have a function that I've written or variables that I use all throughout my application and I don't have to have to copy and paste the code into each form, how can I put those into a file and reference that file and functions within my application?
I have been trying to reference Application.ThreadException in my application to make an addhandler, but I also am using imports growl.connector which has a growl.connector.application method. When I create my addhandler:AddHandler Application.ThreadException, AddressOf ThreadExceptionHandler
And I get "ThreadExecption is not an event of 'growl.connector.application'"
and from VB6 project I reference to Test.dll but an error messege was appear A reference to Test.dll file could not be added (If I create VB NET project and reference to file Test.dll it OK )
My problem is when i try to call Application.Run() in a application without a form i get "Object reference not set to an instance of an object." when i run it outside VS. but if ran in debug or release mode it works just fine. i may just be forgetting to setup application right, but ive done it before in this same manor and it worked fine.
Commented out init_timer and init_ready, and now it causes the same error for the myName line. there seems to be something wrong with class Application. btw theres seems to be something wrong with the forum code formatting.
Let me know a way to troubleshoot the problem -'The proxy settings on this computer are not configured correctly for web discovery', when i'm trying to add a web reference in my vb.net application,
I am attempting to add and call a PHP Web Service from my .Net web application.I try adding the reference like in this tutorial but receive this error.
The HTML document does not contain Web service discovery information.
I see the methods to call into. I ran svcutil and it returned some metadata and the same error. I also tried wsdl.exe and got that same error. I am having trouble understanding whats the best way to go forward.[code]...
In a VB.Net project, you can use the Settings tab of the properties page to define application settings. To reference the settings in code, you use the syntax My.Settings.SettingName in VB.
On the Settings tab, you get to choose the Access Modifier. It may be "Friend" or "Public". Presumably, when you choose "Public", you are making the settings accessible to other assemblies. However, once "Public" is chosen, I can't figure out the syntax to reference the settings of one project from another. In fact, I can't observe any difference between using "Internal" vs. "Public" as the access modifier.
My question: Does choosing "Public" as the access modifier make settings accessible to other assemblies? If so, what is the syntax to reference the settings from other assemblies? If not, what does "Public" do?
I have handle of a usercontrol on external application in vb.net.I know class type of that user control.I want to get refrence to that object to check some properties of that object
I'm writing a windows form application in VS2008 using VB. I have a text script file needs to be deployed together with my application. How do I reference this file when coding and how to deploy it using windows installer? A similar question, how do I reference the installation folder of my application?
Retrieving the COM class factory for component with CLSID {40942A6C-1520-4132-BDF8-DC1F71F547B} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).How can I retrieve MODI reference from COM in my application ? I have no dll file of MODI.& I have used the reference file called AxInterop.MODI & Interop.MODIBut I am not able to execute the application.I need this file to retrieve text from images.
public partial class Form1 : Form { public Form1e & Btnclick as Button
I am successfully using a dll reference in VB.NET project. When I export the application to another PC by using a deployment setup, the application does not start at all. I have included the dll file inside the deployment setup so that this file is copied in the application folder. If I remove the dll file from the deployment setup, the application starts normally.I was wondering how I should set the properties of the reference in the .Net project. I am attaching a view of the references dialog where the used reference is highlighted.
Today I was build one Windows Service Application which has the reference to 4 Dll. After building the Release I found that there was one more DLL in addition to the reference I have. I checked using ILDASM and it only showed 4 dlls.What could be the issue ? How I can I check why it is getting unwanted DLL's in Release Folder?
Im trying to write a simple c++ dll and then reference it in my vb form app however im having a hell of a time doing so. but im getting an error when i call the c++ function in vb.net
here is the c++ code #include <WINDOWS.H> LPCSTR DisplayStringByVal(LPCSTR pszString)
I created a new project of type Windows Forms Application. And following a few posts elsewhere in order to implement spell checking on my application I attempting to add references to: PresentationCore.dll, PresentationFramework.dll, WindowsBase.dll, WindowsFormsIntegration.dll
BUT... when i go to add then they're grayed out and unselectable.
Can someone tell me why (i can't add the refs) and what I need to do to implement spell checking in a windows app?
Late Addition: I started out by copying the DLLs into the bin (after searching vs & .net installation folders) of a VS2005 project and that worked. I guess I can do the same here but I figure VS2008 should have this built in and I SHOULDN'T need to use the method.
I am developing an application that dumps data to an excel file with charts. The problem I'm seeing is that some of the users may not be using Office 2007 and are still using Office 2003. Is there a way I can make my app work with either version?I tried to add a reference to Office11 after I've already added Office12 and it says that Microsoft.Office.Core is already referenced (through Office12, of course).
One thing I haven't tried yet is just referencing Office11 instead of 12. Maybe that would with some backwards compatability on Office12's part? I'm not sure and am not with the code right now to try it out.
i had to get the reference of an object/Control(for e.x a textbox) which is open in another .net application. I was able to retrieve the handle of that .net applcation form. but i was not able to obtain the reference of that form. I tried to using control.FromHandle(handle) function. but it returns a null for the handle i passed since the handle is not associated to the application I am running.I also tried to add the handle to my application with the following code.
Dim nw As New NativeWindow nw.AssignHandle(&H100300A) '&H100300A is a valid windows handle for an application which is open Dim c As Control = Control.FromHandle(nw.Handle)but c returned nothing.Is there any way using which i can get the reference of an object in another .net appliction from my application.
I have the following code under a button labeled "Exit" for exiting my application. Code:Application.Exit()It has been working fine. I added a reference to System.Deployment and the compiler suddenly doesn't like Application.Exit(). Can I not use Application.Exit() and have a ref to System.Deployment at the same time? Upate: I got it. I used the Object Browser and found "System.Windows.Forms.Application.Exit" which works with System.Deployment referenced
what is the best way to load dropdown lists from reference/lookup tables for a desktop application? the application is layed out into 3 tiers. I've built up my entities.the front end has a form with 6 tabs. and one big save (another discussion :)Should I load them all when the form is initially loaded? Are there any caching mechanisms I could use?
it is vb.net app on a network drive that is accessed by several users.it's also worth noting that some reference tables may be updated. Via another form.
I'm making a project for school with a group of classmates. It is an application that needs to reference quite a few pictures and strings from My.Resources. I don't know what the problem is but, whenever I run the program, I get a message that reads this: "There were several build errors. Would you like to continue and run the last successful build?"
COM Reference 'WMPLib' is the interop assembly for ActiveX control 'AxWMPLib' but was marked to be linked by the compiler with the /link flag. This COM reference will be treated as a reference and will not be linked.
Just a quick one, ive probablly over looked something but neways,Ive got a Class Project, which containts a form,class file and a htm file but i cant seem to figure out how to reference the htm file from the form?
how to call or reference an item from an xml document. I hava a java app that i'm converting over to vb.net. The java application uses the digester class to to parse the information. The app uses 2 classes and the xml file. one class is the Vb.net Parameter class (fully converted from Java to vb.net) that pulls the information out of the xml document and then places it when called into the 2nd class file.
I'm pretty sure that i need to use the system.xml class to do this however i'm having or just not reading the examples properly.
I have partially converted the code over to vb.net, it still has some java references.
I'm trying to load a project that I lazily saved all for. When I try to load the project from the vb start menu it says I can't load it because it has a reference to a file.
I'm making a Windows Forms application and I am about to publish it to a ClickOnce to distribute on a CD. The program refers to a LOT of files, e.g. pictures, which I have in a folder on disc called GAMEFILES. It's in the Solution Explorer. That folder does itself have a lot of subfolders. (I'm sort of a tidiness freak.)[code]...
I've created a function in my vb class file that creates dynamic tables. I'm planning to use this to create tables dependent on a button being clicked. The function references a placeholder in my aspx page but I'm getting "placeHolder1 is not declared".How can I access controls on my form from my class file? [code]