VS 2010 Displaying WPF Viewport In A Windows Form Application?
Nov 19, 2011
Here is what I'm trying to do: Using WPF technology, I want to generate simple 3d solids inside a picturebox in vb windows form application, insert a camera and a light and control their position and direction through vb code, but it seems to be impossible, I know how to do that in a wpf project but I want to make use of WPF 3D capabilities in my windows form project.
View 5 Replies
ADVERTISEMENT
Jan 17, 2012
Final step in my application. I finally got all the requirements working, but now I need to have the application run in the background.
The application was written in Visual Studio 2010 VB, Win form app.
The requirements are as follows:
1.) run the application at start up
2.) no icon
3.) always in focas
4.) always runs in the background.
Here's the full code I have right now (working! whahoooo)
Public Class Form1
Private Property count As Integer
Private s As New Stopwatch
[CODE]...
View 2 Replies
Aug 18, 2011
Working on a project trying to use mysql and Visual Studio C++ 2010. I have an established connection to the database on a server using a connection string. My issue is I am not sure how to get the retrieved data displayed in dataGridView. Below is where I have my code for the button named Search. Right now all I am trying to do is get already inserted information out and displayed. Not sure if I am utilizing the dataGridView correctly or if there is another way. When I select bind to database I do not show any data sources even though in my server explorer window I show that I am connected. I have googled my eyes out and still havent found any information relating to a non console application. Here is some code that worked and returned a value of 1 to a textbox just stating that it had no errors in the execution. [code]
View 1 Replies
Feb 19, 2011
im making some stuff using VB 2010 recently (im new to VB 2010) and well...i wanna make it into an executable file, how do i do it?
View 1 Replies
May 3, 2012
one of the apps that I wrote a couple months ago is getting to be rolled out to my production floor; one issue tho - It works great as a standard executable (you double-click, it starts and waits for data), however, I cannot get it to start as a system service.
I've already done a little bit of research for how to create a system service, but most of the information that I've come across is point to VC# or Visual Studio 2010 - I'm not finding much for VB 2010. Additionally, I'm only using VB 2010 Express and I'm pretty sure that I don't have the Windows Service application template's on my PC.
My application does have a "UI", but there isn't any user interaction; it starts and just sits minimized in the system tray polling a directory for the existence of a file - i.e. the windows form is not required.
View 1 Replies
Aug 24, 2009
in vb.net is it possible to display a pdf file on a form?
View 3 Replies
May 30, 2009
I have a User control having two panels. one at the top border and second at the bottom border of the control.
The panels contain some buttons on the click of which i want to display some forms. But I want thoes forms to act like children of the user control i.e. like MDi Parent - Child (here parent being User control and child being the new forms which would be opening). Unfortunately i've not been able to find any way of do'in so.
View 2 Replies
May 28, 2009
I toying with a project where I can position objects runtime on the screen. I also have an small "preview"-window, where I want to see the outline of the objects.I have an object array who have size and location on the "scene". Now I want to loop through my scene-objects and create one picturebox in the preview-window for each object in the "scene".
So, I have the size of the "Scene" and an array of the objects that are visible on the scene. Every object have an size and location mapped to the scene.I also have a preview window that have an dynamic size. How do I create a preview that scales down to the preview window? To make it easy, I loop through the scene objects in the scene and create a picturebox on the preview-form for each object, that uses the preview-forms size to do the scaling.
[Code]...
View 2 Replies
May 15, 2012
I have seen this happen before but am not sure how I resolved it in the past. On runtime the controls of my form change from the windows 7/vista format to an older version format as shown in the attached image.
How to display the controls in the format on the left (new windows format)
View 1 Replies
Jan 22, 2011
I have developed a VB 2010 express application that works on my windows 7 machine, but when I deploy it to other windows 7 machines the application will not run at all. I created an msi script to install the software on other machines and it includes the .NET 4.0 framework an all of my application dll's and such. Any idea what might be he problem?
View 2 Replies
Sep 16, 2010
Im trying to create a program that will be using a shortcut key in displaying a form. But im having problems on how to know if the cursor is on the textbox or datagrid.For example, If I clicked the textbox, and i clicked f1, Customer List Form should appear. No problem with this. I used the following
If txtCustomerName.Focused = True Then
If e.KeyData = Keys.F1 Then
Form9.ShowDialog()
End If
End If
But when I Clicked the cell on the datagrid, and click F1, Product List Form should appear. This is my problem, the form is not appearing when i click f1.Here is my
If dgvSalesEntry.Focused = True Then
If e.KeyData = Keys.F1 Then
Form8.ShowDialog()
End If
End If
View 1 Replies
Mar 17, 2011
i am doing project of Order Accepting system for five star hotels.Scenario is Waiter will accept order using Window Mobile which is Connected to WiFi present in hotel.I want to communicate to database(Sql Server) present on My Machine (Computer present in kitchen) through WiFi and Add order into table present inside database. This should notify my application present on Compter and should print order. After completion of Order Application from kitchen will notify to waiter about completion. My problem is How to Communicate with database present on Remote computer using WiFi from windows Mobile.
View 2 Replies
May 12, 2011
In my project one task is there how to refresh the windows form in vb.net
View 2 Replies
Apr 30, 2010
I have a VB.Net project that I am running from a local server and I need to use the credentials the user is currently logged in with to upload a file to a folder I create on a SharePoint site on the same domain. I can get it to upload if I specify the credentials but it will not work with system.net.credentialcache.defaultcredentials. It just gives me 3 empty strings and I get a 401 unauthorized error. I have seen a few threads that say you cannot use it with Windows Forms Applications. Is this true? Here is my code:
[Code]....
View 2 Replies
Jan 28, 2011
how you display a live or current date and time on a Windows for application.
I am working with Visual Basic 2008(VS Studio 2008).
Example: January 28, 2011 8:00AM.
I have several books, strangely this subject is not properly covered.
This is my
Private Sub lblDisplayDateTime_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles lblDisplayDateTime.Click
Dim currentDateTime As Date = #8/2/2007 1:02:00 PM#
[Code]....
Finally, how do I make the time load when the form runs? I can't seem to find an event, that allows the time to display when I run the form. Currently, I have to click the area containing the label to get the time to display.
View 5 Replies
Aug 17, 2011
I Have one Windows Application in which i have one MDI Form (Say App1). And I too have another Windows Application in which I have a Child Form (Say App2). So now i want to Call App2 from App1 .. And want to Display App2 form As MDIChild in App1 MDI Form . I am Able to open the Form of App2 , But how to set It As App1' Child .
View 2 Replies
Apr 13, 2012
I have a console application code below. I am trying to convert this to a windows based form application but I don't know where to start. This code asks you to input a website and then it gives you the IP address for that particular website the user enters. All the code works fine but I want this in a windows form application.
using System;
using System.Net;
using System.Net.Sockets;
class GTest
[code]....
View 11 Replies
Aug 29, 2010
I am creating a program that interacts with another program and I would like to "inject" my program into this program as an MDI Child window. Is this even possible, and if so can it be done in VB.NET? What kind of pitfalls are associated with doing this?
View 1 Replies
Dec 7, 2010
I want to learn programming techniques so can make both windows and web applications more user-friendly, faster, safer, reliable and easier to deploy.
View 4 Replies
May 30, 2012
FormA calls DialogB where user cancels DialogB which exits via ForceTermination(), see insert.Caller FormA check for DialogResult not = OK, which it isn't, and I can see this in debug as Abort(3).However, the code continues merrily along its way until I get a 'null reference' error which I'm trying to avoid via Force Termination().This is caused by the user cancelling DialogB, a selection process to get a database (SQL) instance.[code]
View 13 Replies
Jan 5, 2011
At present I have wrote an application (in-house CRM, vb .net 2010) which allows me to send emails under the selected customer & I categorised these emails.As these are categorised I can return data to display email history in my program by using search criteria:
Dim oMail As Outlook.MAPIFolder = oNS.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderSentMail)
Dim sSearch As String
sSearch = "[Categories] = '" + "[" + tAccount.Text.Trim + "]" + "(" + tShipTo.Text.Trim + ")'"
Dim oItems As Outlook.Items = oMail.Items.Restrict(sSearch)
However the limitation to the above is it only looks at sent items & no other folder.My ideal solution would be to display all email correspondence for a certain contact.
View 1 Replies
Jul 28, 2010
I have a software called Portal sold by Synapse Inc. It is basically software which interacts with microcontrollers.I need only some of the features of that software for my use. So i am thinking of developing a GUI which can emulate those feature and interact with the microcontroller. Am i going in the right direction in starting to develop the GUI?
View 2 Replies
Oct 12, 2010
I try to minimize my form to system tray but when I do, the form disappears and the notification icon doesnt work [code]...
View 2 Replies
Oct 7, 2009
I am developing a Windows Forms application. I have four forms which is inherited from Baseform in another project. In all four forms I am using a label to show some transaction count based on network status. I have implemented a thread which gets the active form of application and setting up the text. The code works fine if application screen is active. If I minimize and open any other application, I am getting an null error exception.
How do I get the active form of an application?
Private Sub StartThread()
pollThread =New Thread(AddressOf PollfileStatus)
pollThread.IsBackground =True
running =True
pollThread.Start()
[Code] .....
View 2 Replies
Jun 14, 2011
I install a visual studio 2008. I create a new windows form application but very strange that on the right side there is no control bar in which all the control like button label textbox etc contains how i show it?
View 2 Replies
Sep 8, 2011
I have just begun using Visual Studio to create a windows form application in visual basic. I have a chart on the form, and I would like to be able to right-click, copy the chart and then paste in,say, Microsoft word. At the moment I have created a contextmenustrip which appears when the user clicks on the chart, but I am unsure of the code necessary to actually copy the chart and hold it until pasted into a different application.
View 2 Replies
May 5, 2010
i am deploying an application visual studio 2008 vb.net.i have seen hints and comments indicating i can have application check to see if newer versions exist and if so automatically update the application.
View 4 Replies
Mar 31, 2011
Well it's been two weeks since I've been trying to figure out how to convert a windows form application into asp.net web application but I guess it is not possible. So I want to try something else, embedding the windows form on my webpage.
Anyway, I design a windows form application in Visual Basic Express Edition and I want to embed onto my webpage whcih I designed in Dreamweaver. Does anyone know if it is possible to embed a windows form application in a web page that will run in a web browsers? Or where I can find some references, couldn't find in google searches?
Something similar to using javascript to embed objects on a web page.
View 4 Replies
Apr 25, 2010
dll file in my windows form application. how to use the .dll shared functions. I am trying to use functions in the same .net .dll file but it gives me an error "Reference to a non-shared member requires an object reference. I tried but I could not solve it,
View 2 Replies
Feb 23, 2011
I am a new user. Never worked with VB before. I wanne make a windows form application. Its a currency converter that can convert EUROS to belgium franks,german marks and the coins off Nederland. it has to be possibel to round the result to zero decimal. I already made the design with the radiobuttons and labels. But I dont know how to make it work. Its also for a assignment.
View 5 Replies