One Control Executing Different Apps
Feb 3, 2010
I have been out of the programming loop since VB6, and am now digging into VB.net, where I have noticed a lot of changes.
I have a menu of 6 controls on Form1 where the user selects the appropriate application. Each control brings up Form2 as a " Warning Message." The " OK" button on Form2 must " see" which appropriate action the user selected from Form1 in order to execute that particular code. I know this is vb.net 101 stuff, but if I could just get past this simple roadblock it would be great.
View 6 Replies
ADVERTISEMENT
Jan 25, 2012
We have several in-house developed vb.net (2005) apps that use the monthcalendar1 control for date selection. This has worked fine when all machines were using XP. Now that we have a bunch of Windows 7 machines in here, when a user clicks the calendar icon in the app, the control is not quite large enough to display all of the days and does not show the top right hand arrow allowing you to change months. This is a real pain for the users.
Resizing the control in my vb project by making the font smaller or bigger (as you can not resize the control any other way that I can see) has absolutely zero effect on the appearance of this calendar control on the Windows 7 machines but it sure did on the XP machines. It appears that the win7 machines are using their own built in calendar when the call to display the calendar is made.
Does anyone have any ideas as to what I could do? Is there a way around this or is there possibly another calendar control that I could use that would work for both XP and windows 7 and allows me to resize the control in the project - and/or allows the user to resize it themselves?
View 9 Replies
Mar 28, 2009
How can I make the webbrowser control wait until a page finishes loading before continuing on to the next lines of codes?
View 2 Replies
Aug 10, 2010
I am writing a few web based apps which will require a webbrowser extension. I have already used the IE webbrowser control that uses the trident web rendering engine. I believe this is MSHTML.DLL? Anyway, some of the users of my programs have complained of a few things. Particularily,
1. It seems to be a slow browser, at least compared to other rendering engines out there (webkit and gecko are 2 known ones).
2. On the developer side, it seems to be low in features. The features are sufficient in most cases, but there are some "special" things that I need.
3. It has VERY low HTML (and especially HTML5) compliance.
My question is, how much work would it take to use a different engine (such as webkit .net, which I HAVE heard of) and be able to distribute it easily. Or, if you guys feel ambitious, we could try writing a brand new engine ourselves. I know how big of a job it is, and frankly, I have no clue where to begin. I would just like your thoughts and opinions on the matter.
View 3 Replies
Jun 21, 2010
what WPF based apps are?Is it an application that runs under Silverlight? If so, how?I know; Windows Forms based apps,console apps,DLL _ Class Library Projectsand I've had an introduction to ASP.Net.What I mostly want to know is, if WPF apps are for Silverlight then do they also run in a server based fashion like anASP.NET website would when you create ASP.Net webpages?Is it a way of creating what looks like a FORMS BASED application but it runs in a browser instead or what?Please enlighten me a bit further as I have no idea what WPF is all about.
View 3 Replies
Dec 17, 2011
I am using an Application server for calling Oracle Reports and I have a URL to call the report. When the report is called the server converts it into PDF but when report contains large data it takes a lot of time to load. I want to do in asp.net that when I call the report url it opens the PDF file and copies it into the root of my web folder. The next time when I call the URL it opens the PDF file and creates a new PDF on backend for next call. I have made this function to download file
[Code]....
View 2 Replies
Oct 3, 2010
Basically, i am trying to determin if an application made for 1.x will run on a computer with just one copy of the .NET framework installed which is a higher version than what i am targetting, ie: it only has one copy of .NET 2.0, or 3.0, or 3.5 or 4.0 - has one copy of either of these and thats it, the hypothetical computer would not have 1.0 or 1.1 installed.
[Code]...
View 5 Replies
Sep 12, 2009
Usually when you right click on an application, and then click on properties, you can find the applications exe name. Such as, explorer.exe, mspaint.exe, and much much more. But I can't find the exe name of any of my apps.
View 7 Replies
Apr 10, 2010
If I control both applications, what is the best way to communicate between 2 exe's written in VB.Net. For example, I want to drop an XML file from one app, and pick it up with the other, but I do not want poll for the file. I've heard of named pipes, but I found it was complicated. What's the most effecient way to do this?
View 4 Replies
Mar 19, 2012
I need to develop some apps that will be accessed from both PC and macs. Can this be done with visual Studio 2010?
View 2 Replies
Nov 1, 2009
I have the following
Private Sub startMySQLConsole()
Dim parameterString As String
parameterString = ""
[code]....
For some reason, it partially exists the program. The first letter of the line is starred (MySQL wants me to enter a password).I want to use get to mysql via the my app, which launches mysql.
View 1 Replies
Jul 8, 2010
I'm developing a media player app and upon looking at it for a week now, it seems really bland. I would really like to add some animations for it (besides just moving forms with x,y locations) but have no idea where to start.
Are more complex apps/designs/animations better suited for a language like c#/c++? I've never done animations before (except simple form moving) and I think now would be a great time to get some opinions!
You could probably say this would linger more so on 3d images and 3d animations
View 3 Replies
Oct 17, 2011
I've heard a lot about Mono but I have no idea what exactly it is or how to use it. All I know is it's aimed at making .NET apps cross platform. Could someone tell me or point me to some tutorials explaining how to port my vb code to run on other operating systems? Maybe shed some light on all of this?
View 9 Replies
Sep 9, 2009
say i have a piece of code of some function I would use in many different new apps for example
Code:
Dim Expression As New System.Text.RegularExpressions.Regex("S+@S+.S+")
If Expression.IsMatch(txtEMail.Text) Then
[code].....
View 4 Replies
Aug 15, 2011
I would like to develop a VB.Net based smart device app. A simple one. Do any of u know where i can refer to samples of such apps?
View 2 Replies
Jan 17, 2012
I have a .NET application that was written in C# and VB.NET using WinForms. We want to slowly migrate this to something new, in many iterations. The new code will be entirely C# and WPF. We would like to utilize Prism.
As far as I know, we can't integrate the old WinForm app in Prism.
I am considering making my old app show the new app in certain instances. For example, when you press a tab in the old app, the new app opens on top of the old app, with the same tabs. Over time, only the new app would be necessary.
View 1 Replies
Jan 12, 2011
I'm looking to pick up a programming language. I've viewed some source code of both VB and C# and VB looks like something that I can pick up well.My question is can VB handle creating apps that will interact with the web? Things like signing me into accounts, downloading information, things of this sort?
View 2 Replies
Jun 14, 2011
Is it possible to create console apps like the Edit app in CMD with visual basic or C#? I want the program to respond to mouse input, have menubar, mssgboxes and windows.
View 3 Replies
Jan 1, 2010
Im trying to detect when numbers change in a 3rd party app and then capture them for crunching. I do recall something back in the days of vb5 that would list control info when the mouse hovered over it. Cant seem to find anything like it these days. Ive got window handles ok, just cant read the control data.
View 9 Replies
Apr 5, 2012
I have learned to create programs in VB.NET with Visual Studio, but the downside of that is that i need the .NET framework, which is not on every computer. Can I create a program in VB.NET without it needing the .NET framework? If yes, what tools do i need?
View 1 Replies
Jun 1, 2011
I am having a real issue deploying applications when the URL is not available.how to do updates when the URL is not available? I guess I could always put it in code within a try/catch and do it that way.
ERROR DETAILS
Following errors were detected during this operation.
* [6/1/2011 10:37:25 AM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)[code]......
View 2 Replies
Jan 28, 2009
I am writing a usability testing application, it starts the screen recording, gives the user tasks, and then when finished brings up a survey and stops the screen recording. My problem lies in the last part of this process, because the screen recording app brings up a msgbox when recording is over saying where the file is put and then when that is closed it brings up the screen recording application. I am trying to block the user from seeing this so am currently using the following method.
Private Sub WatcherHandler(ByVal sender As Object, _
ByVal e As System.IO.FileSystemEventArgs) Handles FileSystemWatcher1.Created
Dim Camtasia As Integer
[code].....
Basically when the msgbox from the screen recorder comes up it means a file has been created...so the folder is watched and when the file is created the msgbox is checked for, when it exists a short timer is enabled and then knowing the window exists it is hidden using showwindow findwindow approach. Although this approach does work, Camtasia needs to be closed and re-opened after in order to record again and for some reason it does not always work.
View 1 Replies
Mar 27, 2012
i need to change my OS to Ubuntu.i can develop .net apps in ubuntu.
View 2 Replies
Jan 2, 2010
Is it possible to make an vb.net application portable?
View 6 Replies
Sep 9, 2011
I'm trying to learn how to make multilingual apps. All defaults text for controls are saved in Form1.resx (Created automatically by VB.NET). I've set the Localizable property to True and Language to German(Austria). So far so good and VB.NET created the file Form1.de-AT.resx.Both resource file contain text for the different controls on the form. When I click on a particular button on the form, I want a custom message to be displayed according to the language setting/resource file in use.In both Form1.resx and Form1.de-AT.resx i've added another row for the custom message. How do I write the code so that when the button is clicked, it retrieves the custom message from the appropriate resource file? [code]Another thing, is Localization only for changing language or does it affect date and number formats also? Just asking because if a PC Regional Options settings is set to English(United Kingdom) and I do 5/2 the result is 2.5. If it's set to German(Austria) the result returned is 2,5But in VB.NET, if I use Thread. CurrentThread.CurrentUICulture = New CultureInfo("de-AT") (i.e German-Austria) the result returned for 5/2 is 2.5 and not 2,5
View 1 Replies
Jul 5, 2010
Can i make an app that when you click register a textbox come up and you enter your email address and press send. can i make another app receive what was in that textbox over the internet.
View 4 Replies
Dec 29, 2009
I've been wondering about this for a while, but is there actually any free way to port VB.net apps to OS X and Linux? I've searched the web for this and couldn't find anything much.
View 5 Replies
Jan 20, 2009
is it possible to create VB .Net apps without a mainwindow?I want to call my VB app from another app. It will just take a few files, and input them in a database. So, I need no window.
View 1 Replies
Feb 11, 2012
i have a sample code written in VB6 that allows communicating between different application windows and passes data. The link is below:[URL] I wonder how we can do the similar work inside VB.net. I simply claim a method between different applications communicating each other and transmits data. Lately i was using the old code and after my researchs on internet i also found different methods using System.Runtime.Remoting libraries
View 2 Replies
Nov 3, 2010
I currently have a ASP.NET Website and a Windows Service doing some work together.It consists in running some processes either using scheduling or on-demand requests.Basically before i had the windows service i used a Shared Hashtable to register all the on-demand requests and avoid duplicate requests for the same ID. I tought i could use the same hashtable to add the scheduled requests also... but somehow they are being created in separated hashtable's.I think its because the windows service uses a diferent instance of the website.
PS: in the hashtable i save full class objects for future reference so the solution must be able to achieve the same.
View 3 Replies