Interactive Screensaver Access Printer?

Oct 12, 2009

I am sure the screensaver wasn't meant to be used in this manner, but I have created an interactive screensaver for the company I work for which acts as a checkout station for calibrated measurement equipment.Part of this process is printing out a sticker using an SII SLP Label printer which is attached to the computer with the checkout station. Printing with the printer works just fine over the network from another computer (not running the program as a screensaver), but for some reason I am getting a -16 error (I believe that is "Unknown Error") when the program as a screensaver uses the local SLP printer. The only possible reason I can think for this happening is that screensavers aren't allowed to access printers. Is there some way to give the screensaver permission to use the printer? Currently the screensaver is able to access files on the network file share (such as the equipment database) just fine. If I were to create a TCP/IP server that acts as a proxy or go-between for the printer so that all the screensaver does is connect to localhost and tells the server to print would that work?

View 1 Replies


ADVERTISEMENT

MS Access Database To Make Program Interactive But Cannot Get The Database To Update With The Entered Data

Apr 20, 2010

This program is very difficult for me, but I must get threw it or I cannot finish... What I am doing is making a Database of foreign Languages with the spelling of the words and the pronounciation inside the database... The USER enters a paragraph of words into the translator textbox and pushed translate. The program has a DATABANK of words with the phonetic spellings and matches the word, then translates to phonetics. The problem is that new words keep appearing inside the language. So I incorporated a Database of 2 fields

[Code]...

View 4 Replies

Enable The Screensaver From Within Application?

Aug 11, 2010

I'm trying to enable the screensaver from within my application I found this code on the internet:

Declare Auto Function SendMessage Lib "user32.dll" (ByVal hWnd As IntPtr, ByVal Msg As UInt32, ByVal wParam As UInt32, ByVal lParam As UInt32) As Int32
Const WM_SYSCOMMAND As UInt32 = &h212

[Code]....

But it's giving me an error "Expression expected" on the three Const lines right at the & character.

View 1 Replies

VS 2008 Display A Screensaver In A Control?

Jan 23, 2010

In vb ages ago i saw something that would show you a windows screensaver (that you could select) in any control (as long as it had a handle).

Just wondering how i could do this in vb.net?

but I found this eg in c++ showing how to do it as a wmp visual: [URL]

View 3 Replies

VS 2010 Screensaver Not Showing When Application Is Run

Mar 15, 2012

When it is run, screesavers and screenoff is prevented somehow.. I have narrowed it down to this code.

[code...]

The above code is what makes it possible for my application to active two forms when only one is activated.. But it is somehow this code that prevents my screensavers and power settings from working.. Do you have any idea how to change the code so it doesnt prevent my screensavers and power settings?

View 2 Replies

VB 2010 - ScreenSaver With A Password To Protect Computer

Nov 18, 2011

OK, so, I made a program that locks the computer with a password, to help you protect data from other people. It's quite simple, you open the program, it shows up in full screen, "To access this computer please type in the password"....etc.

BUT, I want it to have a "Guard". To make it act like a screen saver does. That's my plan: So, you typed in the password, and close the program. And then, if you didn't move your mouse, or press a key, or you're not watching a movie, for more than 6 minutes, I want it to automatically launch the program. Until now, I've just put in Form2.Show in the Form1's (which is the password-protect program) FormClosing class. I also made the Form2 on Full Screen, and it's opacity to 0%. That's where you will move your mouse. I made all the code until now, but I need code for making it act like a screen saver.

View 1 Replies

WIndows 7 Desktop Refresh And Picture Screensaver?

Nov 9, 2011

I am using VB.net in VS2008.I wrote a screensaver that cycles through pictures. When the screensaver exits it sets the desktop background to the last picture loaded using API call SystemParametersInfo(SPI_SETDESKWALLPAPER, 0, sFilePath, SPIF_UPDATEINIFILE Or SPIF_SENDWININICHANGE).The desktop wallpaper refreshes for WinXP and Vista but not Win7.In Win7, if I run the screensaver as an EXE then the desktop background changes when the program ends. If I run it as a screensaver I need click on the desktop and press F5 before the desktop shows the new desktop background (or click and drag with the mouse to show pieces of the new desktop background).I have tried to add delays and even force a refresh by using SHChangeNotify(SHCNE_ASSOCCHANGED, SHCNF_IDLIST, Nothing, Nothing) but with no success.

View 9 Replies

Print An Array WebBrowser Each Time To A Different Printer Without Changing The Default Printer

Feb 24, 2009

I want to print an array WebBrowser each time to a different printer without changing the default Printer (not to use the SetDefaultPrinter function) I tried to work with the PrintDocument object(he have the Print function and also i can choose a printer name) but I cant attach the

[Code]...

View 1 Replies

Print Word Document In Dot Matrix Printer With Printer Default Font?

Apr 21, 2010

i m using this this coding to copy and print the word document

System.IO.File.Copy(Application.StartupPath &"PrintT.doc", Application.StartupPath & "PrintT1.doc", True)

Dim line1 As String

Dim line2 As String

line1 = "Line1 Replace"

line2 = "Line2 Replace"

[Code]...

now i need to print the Word Document with Printer Default Font(Draft 17.5 CPI) in Dot Matricx Printer

View 2 Replies

Print Directly To The Printer : Change Printer Font Size?

Jul 2, 2010

For my current application development I need direct printing technique,For the purpose I refer Microsoft Support page Titled"How to send raw data to a printer using VB.Net "The code snippnet specified is perfect for my application.Refers link [URL]But I need something more like Setting the Printer font to Condensed.By default my printer use the font 10cpi ,by using this font size I limited to print only 80char on A4 sheet,but I have more than 80 char on line so I prefer Condensed font size.

View 2 Replies

VS 2008 : Get Network Computer's Printer List And Printer Info?

Dec 7, 2009

get a list of printer's (name,port,model) from a computer over the network. I know how to list my own, but it's from querying the Win32_printer object on my machine, I need to be able to do something similar on a remote machine.

View 4 Replies

Suppressing The Screensaver In Visual Basic 2010 Express?

Mar 8, 2012

I am writing a program to show pictures and other related things. my screensaver interrupts my program when it is running. i will like to know if there is any way to suppress the screensaver whilst my program apart from manually turning off the screensaver

View 8 Replies

Windows - Make Screensaver Fire Whenever Computer Locks?

Sep 27, 2010

Is it possible to force the screensaver to appear whenever a computer becomes locked? Specifically on XP, 7 if possible.

View 2 Replies

Check Printer Status On A Win98 Shared Printer?

Sep 3, 2009

I'm trying to check the printer status of a shared printer on a Win98 platform pc and need some samples to get started.

View 3 Replies

How To Disable Screensaver, Sleep, Lock, Hybernate On Windows 7 Or Using .net 2010

Jun 4, 2012

I don't have any idea if it is possible and how can I code it.I have created an application that needs to run on a non-administrator account on windows 7. It won't run if the PC goes sleep/ locked/ hybernate/ on-screensaver. So, I want to disable them programmatically using vb.net 2010. Can any one help me?

By the way, I already tried to edit the power settings of the PC so it will never sleep/ hybernate, etc. But unfortunately, it keeps on sleeping after few hours.

View 2 Replies

Running Graphics Effect In Paint Event Of Form (Screensaver)

Mar 18, 2011

Running a graphics effect in the Paint event of a Form. I am thinking of something like a screensaver effect, not necessarily full-screen either. Would a background worker be better suited to this idea or using another thread? I wouldn't want something that is very demanding on a computer processor. In fact, what I was originally thinking, is it possible to put a Windows screensaver program inside a Form?
Installing VB6 on Windows 7

View 8 Replies

C# - Interactive Data UI For Non-Programmers

May 3, 2011

I've created a simple tool using a datagrid and adding functionality for cutting, pasting, deleting, adding rows, etc. The select users can create new, save, edit, delete from the database. Is there a better way to do this with some of the new technology from visual studio?

View 1 Replies

VS 2005 Interactive Desktop?

Mar 19, 2009

Ive been thinking for awhile about this but I cant get my head around it, Ive been experimenting with physics of objects in visual basic and what (a boucing ball) and Ive been wanting to take it the step further,

View 1 Replies

Get Printer DEVMODE Or HDC With Correct Printer Settings

Feb 22, 2011

I have printer vendor provided SDK implementing that i can get printer DEVMODE or HDC with correct printer settings.

My questions is:

I am already using printDocument to print the image (System.Drawing.Bitmap). How can send use this HDC or DEVMOD with printDocument.

I already tried using the "PrintDocument.SetDevMode". it seems not be working.

View 3 Replies

Printer Stuff - Detect If My Printer Is Busy ?

Mar 18, 2011

1. Detect if my printer is busy, because my code tells the printer to print more pages that it can cope with, so I need to delay the command for 'Print the next page' until the printer has finished printing the previous one.

2. Shift the output to my printer so that it gets printed in it's entirety on the paper, instead of seemingly being anchored to some nebulous point on the A4 page. It starts printing at X = 29mm from the left edge, and Y is 28mm from the top, and stops at X = 22mm from the right edge and Y stops at 22mm from the bottom edge, leaving (aprox) 50mm of X and 50mm of Y unprinted.

3. Get useful information on Bounds, which I'm fairly certain is what I need to control where my printing should start and finish.

I've hunted through this forum, MSDN, 'Help' (a misnomer if ever there was one) the VB Library and one or two other forums, which either baffle me with reams of code or suggest code to try which either just don't work or which doesn't declare all the variables and usually don't suggest what type of variable I need, it's all very frustrating

View 9 Replies

Interactive Arrays Visual Basic?

Jan 21, 2011

In doing mathematics, I need to enter many values from equations into an array or arrays. I want to be able to vary these value any time I run the program.

I would like to know how to do this while the program is running?

back in the days of Quich Basic, it was simple, ie

Dim array(9)
For I = 1 to 9
INPUT array(I)
Next I

The program stopped at each pass to let you enter values.

How can you do this in Viual Basic 2010 for example

View 9 Replies

Make Translator Interactive With The User

Oct 5, 2009

I want to make my translator interactive with the user. In microsoft Word the User can change the dictionary terms of the word or insert a word to make the (little red line) beneath a misspelt word go away. In my translator program. I have a databank of words that are inside a strArray. The strArray is read as EnglishWord[SpanishDefinition] and SpanishWord[EnglishDefinition] inside the DataBank. I want the user to be able to insert a word with it's definition if the databank does not have the word or the definition...

View 13 Replies

Making An Interactive Computer Survival Game

Jun 2, 2010

I was thinking about making an interactive computer survival game, such as the Rainbow Survival levels in Little Big Planet. I was wondering if there was a tool i could use to create the objects, such as the character, explosives, bombs, and point bubbles. i know how to make all the objects move, i just don't know how to create them to begin with, is there a certain tool in Visual Basic 2008 i could use?

View 4 Replies

Single Command Shell (cmd.exe) In Interactive Form?

Jun 17, 2011

I would like to have the single command shell, aka cmd, in my app within a form in an interactive way.

View 6 Replies

VS 2008 Creating An Interactive Overlay Over A Game?

Jun 14, 2009

creating an interactive overlay over a game (such as the way xfire lets you chat with people ingame).

View 1 Replies

Windows Service And Interactive Services Detection?

Nov 23, 2010

In order to send out emergency alerts in our organization, I created a windows service that checks a web service (WCF) to see if an emergency alert is pending. If there is a pending alert the windows service then runs a windows form application (exe) to display the alert message. Now my problem......These services are running on a windows 7 machine. When the exe for the alert message runs, it pops up a message stating.

View 4 Replies

Create Interactive Voice Response Systems From Home?

May 7, 2009

I am trying to build an IVR and hook it up to my website, what are the different (inexpensive) ways that I can do it.

View 10 Replies

VB, Windows 2008, Interactive User And Buffer Cannot Be Null?

Sep 5, 2010

I have a web application on a Windows 2008 server. The web application opens another application interactively.The issue: If I am logged into the server, the web application runs without any problem. If I log-off, and try to use the web application, I get an error "Buffer cannot be null."If I log myself back into the server,go to another computer and try the web app, it will work fine.What security setting is causing this?

View 3 Replies

VS 2008 Sorting With Interactive Sort Of A Textbox In A Report?

Jul 4, 2011

I am trying to sort my report on the values in a column. The underlying query consists of a director colum a movietitle column and a rating column, for every movie a director has directed there is a record which off course shows the rating in the ratingcolumn In my report I have grouped by Director and created two other columns which are called: Nr of Films and averageRating. in the design view i used two functions to accomplish this. the first is: count('the field of the rating') and sum('the field of the rating')/count('the field of the rating'). This is working... but now I would like to sort the column, Nr of Films. I think I have to do this with interactive sort of the textbox which holds the column name(i.e. Nr of Films)

View 2 Replies

Create A Tile Map That's Interactive With Mouse Clicks And Rollover Event?

Feb 1, 2010

Is there a way to create a tile map that allows a user to click a tile on the map and have an event happen? Better yet, can this be done in a web application?

View 5 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved