Application That Has A "big" Toolstripmenu?
Jul 29, 2011
i have an application that has a "big" toolstripmenu, with a lot of sub-menus, now i have to merge some of the sub-menus.
The problem it's that the only way that i know to merge, it's cut and paste, and then every event handler of the menus loses the caller event...
There's another way of doing this? I have around 3000 lines of code just to handle all menu calls...
View 2 Replies
ADVERTISEMENT
Dec 18, 2009
so i made a from with in it a WebBrowser now i added a Toolstripmenu and added some text in the toolstripmenu how can i make it that when i click in the toolstrip menu to go to an web browser
Private Sub World30ToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles World30ToolStripMenuItem.Click
End Sub
i thought it was something like call webbrowser but it didnt work out
View 2 Replies
Mar 13, 2009
I searched the forum and i'm sure this question has been answered before but i couldn't find it anywhere... I'm trying to figure out how I can get the FILE~NEW Code to work... I want to make just create a new form... Seems like it would be pretty simple but as i've learned coding anything that seems easy in VB turns out to be quite the opposite... I need to know how to create the Open and Print Code also.
View 1 Replies
Apr 14, 2009
I have got my login form set up for my inventory system. User(admin) with access level 1 will be directed to form 1 and user(normal user) with access level 2 will be directed to form2.
[Code]...
View 5 Replies
Aug 31, 2011
I have a form with a toolstripcombobox in a toolstripmenu when I select an item in the combobox, the toolstripmenu stays open. how do I make it close ?
View 7 Replies
May 12, 2011
I am trying to create a Favorite list using a toolstripMenu. When a user clicks the "ADD" (toolstripmenuitem2 = ADD), then it adds the url. However, I want it to check if theurl already exists in the strip or not first. This code below is not working for
Private Sub ToolStripMenuItem2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ToolStripMenuItem2.Click
Dim newURL As String = WebBrowser1.Url.ToString
[code]....
View 2 Replies
Jan 22, 2012
Using VB.NET 2010:i'm making a simple "launcher" application for our work applications. I have already created the ToolStripMenu that contains the menus I want. They will be arranged like so:[code]What I need to do, is restrict access to the Admin menu, based on the Environment.UserName variable. Ideally, I would like to have it not even render - but if the only option is to have it greyed out, I am okay with that as well.
View 1 Replies
Oct 7, 2010
I am using a ToolStipMenueItem so that when the user right clicks on the form a menu pops up.I'm not sure how to control the location of this popup menu. Sometimes is pops up where the cursor is, in another case it pops up in the top left of the form.I cannot find any 'position' properties - how do I control it's position?
View 3 Replies
Dec 29, 2011
Since I am making a program with quite a few users with different access levels, I usually turn all the toolstripmenuitems to visible false first, before turning some of them to visible true again as specific to the users.[code]...
View 3 Replies
Feb 9, 2009
I am in the process of developing a messaging framework for a windows application that sends messages to a java application. To be precise when the win app wants to send a message it simply drops the message in a common database table which will be picked up by the java app. The windows application is deployed across 10 application servers (10 instances) over citrix for load balancing.Each instance of the application is capable of sending a message to the java application and each of these messages should have a unique id. From my end I need to make sure every message generated has to carry a unique id so that they can be identified when necessary. All the messages can be cleared every day or two.i am not quite sure about a best method of achieving this. Initially I wanted to create a static method that serves the next available id (incrementing the last id by 1). But this approach willn't guarantee unique number as the application starts only when at least one user is logged on. For e.g .On one server the app starts when a user logs in, he then sends a message and then the application stops when that user logs off. So when a next request for the app comes to that server a new instance will be started.
View 3 Replies
Aug 13, 2009
When I install .net Frame work 2.0 I had this Error when the setup writing system register values RegSvcs.exe-Application Error The application failed to initialize properly (0xc000007b) click OK to terminate the application and i have running an blank application (blank forum) and i running it in the VS 2005 IDE iget this error: windowsapplicatin1.exe-Application Error The application failed to initialize properly (0xc000007b) click OK to terminate the application and i have a program in setup package that i made from 1 week . i have install this program and when i want to run it i had this problem
[Code]...
View 2 Replies
Apr 11, 2011
When i click on my installed VB.net application icon on the desktop,i receive the message : 'Application failed ti initialize property ox700000000000000 ..... click ok to terminate application'.
View 2 Replies
Jul 18, 2012
Im planning to create a Remote Desktop Application and I'm having problem with viewing other computers monitor or screen.
Im not asking for the code on how to do it. and one more thing is it safe to use winsock in creating a client/server application?
View 3 Replies
Apr 26, 2010
is it possible to make one application send a task to another application and recieve the result from that secondary app?i made a text editor program and i added a scan feature and i made another app that has ocr capabilities.The scanner ability is in my text editor program, the ocr program doesnt scan you have to input an image into it and it will give text result a few seconds later.the prob is alot of times the ocr code uses sooo much memory and crashes when its incorporated with my text editor, but individually each application works fine and doesnt take too much memory. Memory wont be even an issue if the ocr program is standalone so that when it is done decoding image the application can be made to exit. now here is the question, how do i make my text editor send the image to the ocr program and how do i make my ocr program send the text back to my text editor? is it possible? i mean the only way i know off is creating temp files in a certain folder and having a timer on each program that keeps waiting for temp files. That just seems like pretty lame coding to me i was wondering if there's a better way?
View 11 Replies
Jul 12, 2011
Which is the best way to store application and user settings of an application running with multiple instances?My problem is that using the vb's "Application Settings" one instance would overwrite the other one.I want to identify each instance with a number passed via command line argument. I could use this number to identify the appropriate settings of the running instance, but I see in a local INI o XML file a better way to handle that.
View 1 Replies
Apr 13, 2011
I currently have a simple crystal reports application which generates a crystal report and in the built in viewer provided by VS2005. There is a drop down where you can select options to change the criteria of the report. I wish to convert this app to a windows executable which will take all those select options and generates pdfs based on the crystal report. the executable will be triggered by windows task scheduler...or maybe command line app?
Obviously this will be somewhat of a re-write. What would be the best way to start this as? a crystal report application or a windows application.
View 2 Replies
Aug 2, 2011
I have a windows forms application written in VB.NET which scrapes information from serveral web pages (who doesn't right)? Anyway, I am having problem with one particular site where partway through the page navigation my application hangs. When I press pause (or break) in the debugger, it stops on a call to System.Windows.Forms.Application.DoEvents.
Resuming execution shows that it really is stuck on this line (it does not reach the next line of code). It also hangs about the same point each time I run it (at least its consistent). Since System.Windows.Forms.Application.DoEvents yields to other threads on the same processor and then resumes execution of the current thread, I think the problem is that some other thread is not behaving well (not returning from some event handling code). I thought Windows 7 was pre-emptive, which makes me
doubt that theory but I really don't know.
[Code]...
The program scrapes somewhere between 12 and 14 pages before it gets stuck on the call to DoEvents. Does anyone have a clue why this would happen? Why would any call to DoEvents hang?
View 1 Replies
Jul 18, 2011
i made an application for serial communication. for this application i need to set delay time. during this delay time i m doing some other task. So for those task i need to take back control from delay function, for this purpose i am unsing Doevents() function.Its work fine On other OS (XP, Windows7 32/64-bit). But Application.DoEvents() function halt and crash in windows vista.
Private Sub TimeDelay(ByVal DT As Integer)
Dim StartTick As Integer
StartTick = Environment.TickCount()
[Code].....
View 4 Replies
May 13, 2011
I have a vb.net windows application. I want to convert some part of it to an application that can be run on all mobile platforms like iphone,windows mobile, ipad etc. It should be platform independent
View 1 Replies
Feb 26, 2010
How can I create a VB application in VS2008 without requiring the application be run on a computer with a .NET framework in place?
View 4 Replies
May 27, 2009
how to create a uninstall command for a Windows-based application in the Application Folder when creating a new setup project in visual studio 2008.
View 4 Replies
Jul 2, 2009
Deploying Winforms Application to Client Machines Application Failing on start
View 8 Replies
Jul 5, 2011
what is the different writing code application vbnet 2005 application for single user and multiuser?
View 3 Replies
Mar 12, 2008
i m a vb.6.0 developer and now turned in vb.net. so i m new in vb.net.My problem is given below.i opened the word documents in webbrowser control and it is just showing a document page with rular. But my main problem is that i want to open whole word documents with tool &menu bar in webcontrol. i used the following code which is given below.
WebBrowser1.Navigate("C:dharmchandBlank.doc")i wrote this code in form_load events and when i run my application then it is showing just a page with rular. But not showing Menu bar & Standard or Formatting toolbar.
View 6 Replies
Sep 14, 2010
I am trying to use the System.Diagnostics.Process class.I have the following Windows Forms application. It consists of 1 Button and 1 TextBox. The only code is for the button click event as follows.
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim myProcess As New Process()
[code]....
View 2 Replies
Apr 5, 2011
I need to send a short string, (less than 30 bytes, but sent every second), from one VB application, to a Delphi application.. is this possible, using CopyDataStruct, WM_COPYDATA and SendMessage functions in Windows?
View 1 Replies
Jul 16, 2010
I have created an shareware application using vb.net visual studio 2008 for windows desktop, and packaged it using innosetup 5.3.8. The problem is when i have installed the application in C:Program FilesApplication and it runs successfully(use trial period of the application), Im also able to install the application once again freshly with the same setup by installing in different directory.eg C:Program FilesApplication new . The application in C:Program FilesApplication new does not have any settings of the already installed one.
Where do i went wrong . Do i need to take care of this in my application(vb.net) or innosetup. How to take care of the already installed path in innosetup or carry the settings of already installed application to newly installed path by upgrading the older one.
I dont want to write any thing in registry because the application does not want any administrative permission requirements.If i install the application in same path it gets updated with the older settings being taken over to this new one and it works fine.
View 1 Replies
Apr 17, 2012
I am looking for a VB.net book that strings me through the entire development process of an application (Prefered: WPF ,LINQ ,ADO). I have read a few books on OOP and VB.net with small code samples demonstrating the specific idea of the chapter.I think it would be really helpful if there was a book that programmed an entire application that uses a sql database (Northwind , Adventureworks).
View 1 Replies
Jun 8, 2011
I have designed and published my small created app with WINDOWS FORMS using VB 2010 EXP on Windows 7. I can only install the app on the machine that I used to develop the app.I want to install the app on another computer but I cannot. I usually have error reports.
Example:Unable to install or run this application. This application requires Microsoft Common Language Runtime 4.0.3 to be installed on your computer.
what can I do to be able to install the app on a different computer which does not have .Net and does not have visual basic 2010 installed.
View 13 Replies
Nov 4, 2010
I have recently created an application where a lot of data is loaded into objects when the application starts up, and other data as it is required. For example if the user requests the catalogue page then it will load all the top level category data into objects of type Category. This will then stay there to be used by other users (who will therefore not have to load this data into objects) and can be altered by admin if they happen to login during the same application instance. I know this is not the most efficient solution, as pointed out below, but it works and the page load, at the moment, is not too long. It is very quick if most of the required data is already loaded into objects. It is also tailored to the business' needs - unlike other techniques such as Linq-to-SQL.
View 1 Replies