Added Tabcontrol, Now Application No Longer Working
Jan 17, 2010I fixed it, I the Event Handler got deleted somehow and that was causing the problem.
View 4 RepliesI fixed it, I the Event Handler got deleted somehow and that was causing the problem.
View 4 RepliesI am passing value via an object property form1 to form2 my class was working before, but I guess when i create the instance of the form2 in form1 my calls in my class no longer work properly.
[Code]...
i have a problem i can't get the tabcontrol working with webkit i want webkit because it's faster.
View 1 RepliesI am not sure whether it is possible or not? need suggestion.I want to display filenames from 2 different folders into 2 different DataGridview controls that are placed in 2 tab pages of TabControl1. Here is the code that I have tried. By running this code, I can able to show the filenames from a folder onto DataGridView1 in Tabpage1 but not in DataGridView2 of tabpage2.
[Code]...
How to make tabcontrol appear in my window application...? And also adding tabItem to the tabcontrol using vb code. I'm working on a wpf application.
View 2 RepliesI have created a small multithreaded application using VB.NET. There is no problem when the user manually runs this application. A problem exists when I added this application on startup. It hangs after I rebooted the system. The application is still running its thread but I can't see its GUI because its frozen. If I kill it on task manager and started again, the application works fine. What could be the possible reason/s why this application hangs when added on startup?
Imports System.Threading
Public Class USBLock
Public Event Lock()
[Code]....
or just a thought on this subject: the reason why the program hangs on startup is because the application is loaded while the .net framework service has not yet started.
I have been doing programming for only 6 months so don't laugh if this is a rather obvious question :PI am making an Media Player in VB2008 and have added a axwindowsmediaplay1 component to my application as well as a trackBar. If I use code eg: [code]
View 1 RepliesI'm running into this one very specific issue:
- I have a VB.Net 2005 Project for which I've created a Setup Project.
- In my Setup Project, I've added a shortcut on my Start Menu, that points to my Application.
- After deploying it, all works great.
- One of my users chooses to *copy* the shortcut from the Start Menu into their Desktop.
- I then create an upgrade for this Application. Again, the deployment works great. They can start my application from the Start menu.
- They double-click on their icon in the Desktop and they get a popup: Title of the message box: Problem with Shortcut Description of the message box: (X) The parameter is incorrect.
The shortcut's Target, is blank ( which I believe is the problem ).I'd love to be able to specify an actual [TARGETDIR]myApp.exe type of string as the shortcut's target in my Setup Project, but I can't do this.Instead I have to point it via UI, to my Target Application ( which I'm assuming is resolved at install-time ). The problem with this is that it appears that the shortcuts get re-evaluated every time you re-install / upgrade the application. Since my previous version is technically not installed anymore, my shortcut gets invalidaded, even though the target path is still the same and I haven't changed my executable's file name.
i am programming in vb 2008 and i hav a little problem.I hav added 8 picture boxes in my application and i wana know if i can go through all those 8 picture boxes in a "FOR LOOP". [code] now the problem is that i am not allowed to use "picturebox(i)"is there a way to go through all the picture boxes in a for loop?
View 1 RepliesI'm using loop to read data from sql and then make some calculations then save it again to another table but when application loop for 3 or 4 times it's freeze but the job is done but if loop = 10 or more then it is freeze and hangup for long time .i need to learn how to make my application working better and never freeze and make application working with any count for loop without freeze .
View 7 RepliesI am trying to do an application where several textboxes and buttons will be added to a groupbox.
for example..
code:
I might have anywhere between 1 and 20 rows of these textboxes and buttons. I can add buttons on from.. but how would i add the textboxes or buttons to the say Procedure for MyButton_Click... Handles MyButton_1.click, MyButton_2.click
I have a program that adds controls on the fly to an auto-scroll panel. When the panel is scrolled (viewing the bottom of the panel for example) and a control is added, it looks like it is added assuming the top left corner of the panel is still at 0,0 when in fact it may be 0,500. To see what I am talking about, create an empty "Windows Forms Application" project and insert the below code into it.
Friend WithEvents Panel1 As System.Windows.Forms.Panel
Friend WithEvents btnAdd As System.Windows.Forms.Button
Dim ButtonCount As Integer
[code]......
i have multiple forms in a project and all have statusbar. there is no way to add textbox on status bar but in my previous thread i got the help to add the text box. i created a function in module so that i call that function from all the forms on load and add the textbox on status bar and also add the event on textchange. the function to be called on event change is in individual form (at present)[code]
View 11 RepliesI am working on a realtime application where the data is addded to a List(of T) all the time. MB per minute
Elements older than X minutes shall be removed from the beginning of the list to free memory.
As far as i can understand will there be an internal (slow) redim when i add each element after i have reach the number defined with the Capasity metod. (I set that quite big from the start, but the data speed is unpredictable so it can be exceed)
What happens each time i remove and element from the beginning of the list , seems like it takes a lot of time, ? new redim ?
What is the most CPU fficient way of removing 1 or many elements from the beginning of such a list?
I'm trying to use the Shell to have my application call an external application but its not working...I don't understand why. I get the following error: 'System.windows.shell' is a namespace and cannot be used as an expression!
Heres my code....any ideas what I'm doing wrong. Its got to be a simple...stupid error.
Private Sub mnuUpgrade_Click(ByVal Ctrl As Microsoft.Expression.Web.Interop.Legacy.CommandBarButton, ByRef CancelDefault As Boolean) Handles mnuUpgrade.Click
[CODE].....................
I am trying to create an application that can have "modules" added to it. For example firefox can have firebug installed into it. I am trying to figure out how I can write my code so that other developers can put their controls where they want to and my program will know to use them. I am assuming that this is called making a framework.
View 29 RepliesSo I have a form with a textbox1 thats supposed to enter in a set of keywords and then ebay will give you the"Instant suggestions" in return, but when I have my textbox1.text send the text over to the ebay form, ebay will not return any suggestions, unless I use the sendkeys.send method. Well, I do not like the sendkeys.send method because it's way too buggy &only works under the right conditions.Here's a pic of google instant and ebay does the same thing. So here's what I'm trying to get ebay to do:Here's the code that I have:
Dim theElementCollection As HtmlElementCollection = WebBrowser1.Document.GetElementsByTagName("input")
For Each curElement As HtmlElement In theElementCollection
[code].....
i have few questions:
A) How do I create an application that works in the background where there is no instance of it visible at the screen.
B) How do Create application that will load right after windows you start windows?
Has this ever happened to anyone? It has happened to me and one of my customers in the past but I have no idea how he diagnosed it and it is happening with another one of my clients now. The application runs, but the HTTP requests do not. The application works 100% perfect on my own computer but not the customers. He has both the 1.1 and the 3.5 framework installed, and uses Vista (same as me). Can anyone shed some light on this situation because this is a huge huge huge problem that I would rather not have to worry about in the future with other clients.
View 6 RepliesI am currently going through Murachs Beggining .net programming book. I am trying toimplement an application for an exercise at the end of chapter 5. The applicationspecification is as follows.
View 4 RepliesI have a datatable property called prpParametersTable in a class called clsBatch. I have a procedure that sets a datatable variable called dtP equal to prpParametersTable at the beginning of the procedure. I then add three new columns to dtP.Here is my problem. When I add the three new columns to dtP my original table prpParametersTable also gets those columns added to it, why? I only want to add the three columns to dtP and not prpParametersTable. How can I do that?
Private Function prvfnc_InsertBatchParameters(ByRef cnn As SqlConnection, ByRef trans As SqlTransaction) As String
' set new columns that have BatchID, Insert DateTime, and UserID for the SQLBulkCopy method below
Dim clm As DataColumn
Dim dtP As DataTable = clsBatch.prpParametersTable
[code]....
I have win7 pro, on my win form is a traffic light icon(when it starts it is red, when finished it is green), so that I know when job is finished. But when I run application icon isn't changing and form hangs it self, can not do nothing until job is finished. Only in the end, I see that icon is quickly changes to red and then back to green.
View 1 RepliesI keep getting an error that says hte application has stopped working and Windows is searching for a solution. When I click to debug, it tries to start a new instance of VB, but then tells me that a debugger is already running. Why is this happening?
The error is a uncaught Win32 exception and occurs somewhere inside a thread that I create, but I have no idea where.
i tried updating my application on a vista home basic laptop. i get "myapp.exe has stopped working" then i restore back to the old version, it still give the same error. I am sure the old version is working because I tested it before updating it.
View 2 RepliesI have implemented a global Hotkey into my code but the problem is that when I move the focus from the form to IE (For Example) i cannot use the Hotkey from my application. Everything is working great if I was to stay int the form but that's not the purpose of this code.
Private Sub frmMain_Load(ByVal sender As System.Object, e As System.EventArgs) Handles MyBase.Load
RegisterHotKey(Me.Handle, 9, MOD_ALT, VK_F9)
End Sub
Private Sub frmMain_FormClosing(ByVal sender As Object, e As
[Code] .....
i have a simple app of one form.on this form there is:
webbrowser -
axshockwavecontrol -
combobox -
[code].....
This desktop app written in VB.Net within VStudio 2008 fails when one of our "power users" tries to run the program: Select permission denied on object 'AcctLogon', database 'MDS', owner 'dbo'. The author of the app is out for a few weeks and I am the "fixer" while she's out. Both of our logins for SQL have permissions for db_owner in the MDS database but our user does not. The user has a Windows user login for this instance of SQL. This login has permissions for the public role only in the MDS database.
[Code]...
i created an application with vb 2010 in my windows xp pack 3 now i want to use it in windows7, but its not working!
View 9 RepliesI created a windows application in vb.net in visual studio 2010.The application is running in my pc but when i am trying to execute this application in another pc it is not working giving errors in event viewer..Faulting application puttist.exe, version 1.0.0.0, faulting module kernel32.dll, version 5.1.2600.5512, fault address 0x00012aeb.[code]
View 17 RepliesI am trying to get an application installed on a friends computer, written in VB 2008 Express. However, he continues to receive the Windows Application 1 stopped working message whenever he launches it.
He states that there are not any error details, and I am in a different state so I cannot even begin to diagnose the situation, so this is all I have to work with. Are there any suggestions where I can even begin to look that would cause this? He is on Win7. which is what I developed the app on. The program is pretty simple, and utlizes sql server r2. Any suggestions on some starting points to check? I have run it on 6 or 7 other computers with no problems.