Small Program Which Would Display One Window(frame)?
Oct 10, 2009I made a small program which just is one window(frame) i want to put this prog. in my PC when i restart my computer this window display.
View 11 RepliesI made a small program which just is one window(frame) i want to put this prog. in my PC when i restart my computer this window display.
View 11 RepliesIs there a way to remove the border/frame (the Aero bit) of another application's window (say notepad) from a VB.NET program?
View 1 RepliesI need to make a small programm for ticketing on a parking for a small hotel.So i have 2 Printers pariking In (for delivery of the tickets) and 2 Readers PArking Out.Both Printers and REaders are working Serial.So i need to poll the serial ports of the printers and readers every second.The data is stored on a SQL database so i need to read and write in the database.Can i do this with 1 PC and 1 programm or 1 PC and 4 programms that are runnning at the same time ?
View 2 RepliesI want to know how to display a frameless window in ASP.NET 3.5?Also how do I display a popup (.aspx) window from an aspx page which will receive some values to display from the calling .aspx page?I also wan to know how to display a popup window as a tooltip whenever an input control receives focus in asp.net 3.5Lastly, how do I go about integrating users discussion forum in my website project.
View 3 RepliesIt was working fine with Visual Studio 6.0 but its not working in Visual Studio .net 2008.
To reproduce this issue please follow below steps,
Step 1: From Start --> Programs --> Microsoft Visual Studio 2008 --> Microsoft Visual Studio 2008
Step 2: Create a new Visual Basic .Net project. (Please Select Framework 2.0 or 3.0 or 3.5 only)
Step 3: From References add "Microsoft HTML Object Library" and "Microsoft Internet Controls".
Step 4: Insert one button control in your form1.
Step 5: Copy and paste below code in your form1.
Imports SHDocVw<br/>
Imports mshtml<br/>
<br/>
Public Class Form1<br/>
[Code]...
Can I make my toolstrip backcolor match my window frames color automatically? Since frames are controlled by themes, can I set the toolstrip color in the IDE using the System tab and selecting one of the options, say Inactive Border color?
For example, if my theme uses a blue frame color, can I tell the toolstrip backcolor to match it somehow?
In my project I've got a MainWindow that opens up a second Window. Inside the second Window there is a Frame and I start a navigationservice inside the Frame. Also in the second Window I've got a KeyDown method that calls Me.Close when the user presses the Escape key. Anyway, when the second Window closes a System.Windows.Threading.DispatcherTimer() inside one of the pages in the navigation service doesn't end. Any ideas on how can I close the second Window and terminate the DispatcherTimer inside the navigationservice?
View 2 RepliesI'm using a WebBrowser to print some HTML data, all works good except for the print preview called in the load completed event - It opens as a very small window in the top left, anything I can do to improve this?
Private Sub BtnPrint_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnPrint.Click
Dim webBrowserForPrinting As New WebBrowser()
AddHandler webBrowserForPrinting.DocumentCompleted, New WebBrowserDocumentCompletedEventHandler(AddressOf PrintDocument)
[Code] .....
I am using the Win32API function EnumWindows to populate a listview with the window text, handle. In this listview I would also like to populate the SmallImageList from an ImageList control of the window's small icon attribute.Now, I have the window handle for each, and I understand their is a number of ways to go about this. I have tried using SendMessage, sending the WM_GETICON value for ICON_SMALL...but that always returns zero.I've read something too about populating a WindowClass structure to get an icon for a particular window.
View 8 RepliesI need to have a small window to appear slowly from the bottom of windows.is it a windows manipulation or it can be done in VB.net too.
View 10 RepliesI have lost the small window which displays the objects and events of the current tab. How can I get that back?
This is a screenshot. I have lost the highlighted area!
[Code]...
I can access a specific frame and put the frame into a bitmap so that I can process the bitmap.
I want the background of my form to be the same color as the window frame color that the user selects, even if that changes. I selected System->WindowFrame as my background color, but it always remains a dark grey, regardless of what I have my window color set to. How else would I achieve what I want? I assumed I was doing it the correct way. Do I actually need code that gets the system window color and then apply it?
View 4 RepliesI want to put undo in a small program
View 10 RepliesI am trying to build a small program which will allow some one to click on the exit button and the sound will play and at the end of the sound the program will then close. The sound clip is about 3 seconds long Here is what I have:
Imports Microsoft.DirectX
Imports Microsoft.DirectX.DirectSound
Public Class Form1
Private Dsound As CSoundDevice
[code]....
I have been trying, without success, to get rid of a �Blink� at the start of a small program.
My program opens with a title page (Form2, which is visible at 100% Opacity) that I want to fade after a few seconds, this works fine except that at the first reduction of opacity, Timer1's first 'Tick', the whole of Form2 blacks out for a moment. (Blinks)
I have a short demo program to show what I mean but don�t think I can attach it to this question. The code is shown here but I don�t know how to include Form1 and Form2. They are very simple however, they�re both Size 1000,600
Form1 has a single Button (Exit) and a Timer; Form2 has a full-size photo as background.
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
[Code]....
I developed the code on a XP machine, but I also get the same 'Blink' on my Win. 7 Pro machine.
i have a small program to get text from a DAT file. the program gets all the text and puts it into a rich text box (rtb1) then I click a button (btnformat) to split the text in the dat file into indexes so that I can output the indexes that I want to an excel file. This program works when I use small amounts of data but if I use say 800 lines of text the program crashes/ can't handle the volume of data and just stalls.
View 14 Repliesi am trying to make a small program to encrypt files using AES, and then have the password from the AES encrypted using RSA for its use of public keys. i've got the AES part working fine and i found a good RSA tutorial here url....but after i encrypt the AES password (which is saved in a .txt file) using RSA, then i try to decrypt it again, it comes out as an empty .txt file!
View 4 RepliesI created a small program which one uses the SQLite database. I have a simple table employees, composed of the name and password. I can not write sql script correctly. application code is:
Imports System.Data
Imports System.Data.SQLite
Public Class Form1
Private Sub btnLogin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLogin.Click
[Code]...
I have created a small test program for faxing.On some machines it works and on others it throws the following COM error when trying to send the fax:[code]Here is the source code from my test application.All it requires is a reference to FaxComExLib.[code]
View 15 RepliesI have almost completed a translation from C# to VB.NET, however, I run into some small errors[code]...
View 1 Repliesim new to these forums and was working on a small program to change the school wallpapers. i want the user to be able to choose the imageand not have to put it in a secific directory could anyone please advise me on how to do this
[Code]...
I are trying to write a small program for iTunes using Windows COM. We are able to talk to iTunes and create popup boxes that show the current track, and a few other small things. However, when we try to set this info to a Label for example, we get:
InvalidOperationException was unhandled by user code Cross-thread operation not valid: Control 'Label1' accessed from a thread other than the thread it was created on.
The program then hangs and locks iTunes from closing. I believe the issue is the event handler I have created, which I know very little about. We are using VB 2010, so that may change some things. We followed a rough example from a forum post HERE. If you scroll down the orange text, you will see a reply right after by Will Hughes with a "Handles iTunes.OnPlayEvent". If I add this to the end of my event handler, I get:
Handles clause requires a WithEvents variable defined in the containing type or one of its base types. Not sure if its important to the issue or not, but I found it curious. Our code is shown below.
Imports iTunesLib
Public Class Form1
Private iTunes As New iTunesApp
[Code].....
i have written a small program to set wallpaper on the desktop when i change the wallpaper then if I refresh the desktop then problem is that,wall paper is disappeared and a blue screen comes.secondly i want few changes i want to set wallpaper as Tile,Center and stretch i want to use radio buttons on the form for this purpose so how can i make these changes.
View 1 RepliesOn form 1 , i have a number of buttons that open up different websites.What i want to do is when i click a button on form 1 , i want forum 2 to show ( Form2.show() ) , Form 2 will have a list (Buttons) of internet browsers.
View 4 RepliesI am attempting to make a small program for my church to power on and off the projector According to the user manual I need to send the following to it. Power On: C00[CR] | Like so: "C" -> "0" -> "0" -> "[CR]". However I am getting the following error when attempting to turn it on by the program: Conversion from string " " to type 'Byte' is not valid. [code]
View 14 Repliesm using Microsoft Visual Studio Basic 2010 and im fairly new to it. Im trying to make a small program for feedback and send it to my e-mail. I have seen e-mail sender tutorials on youtube but thats not really what I am looking for. Im looking for it to be automatically sent to me, not having to type in "To" so as if its hidden I guess. So Basically
View 2 RepliesI need to set up a small program/script that can test simple web functionality.I already have a window that automatically load the right URL. What I need now is pointers to how I can make that program return a code if it can load the site, then automatically log in to the site and return a code if it is able or not to log in. Then log out, wait for five minutes and then refresh the site and run again.
View 2 RepliesI am working on a small personal database management program and am at the stage where I am trying to search the MS Access database given a user input.I need to look up lets say the "customer" ID and the update other records associated with that customer. Here is what I have so far.
[Code]...
What I'm trying to do is write a small program that copies a file from a USB to another directory so a program already installed on the computer can load this data.Usually copying files from one directory into another wouldn't be an issue.
[Code]...
If possible i would also like to change the code i have written so it just loads January2009.txt from the "root directory" of the USB rather than having to specify H: because if i put the USB in someone elses computer this could change to G: and then it wouldn't work.