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


ADVERTISEMENT

Buffer Cannot Be Null - Parameter Name: Buffer

Dec 15, 2011

[Code]...

This is my code for retrieving pictures, it was working before but then i accidentally deleted the table and i created it again with the same name and same fields. and now whenever i open the form with the picture, there was a message box error. it says Buffer cannot be null. Parameter name: buffer I don't know what i did wrong.

View 5 Replies

VS 2008 Local System Service Starts Process As Interactive User?

Aug 15, 2010

The original code came from AutoItI just rewrote what was necessary for VB.NET and added the structures and throws. If successful the PID of the process started is returned, else an exception is thrown. No imports needed.

View 3 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

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

VS 2010 Picturebox - Creating An Interactive Map Which Displays Facilities When User Clicks On Checkbox

Oct 10, 2011

I am creating an Interactive map which displays the facilities when the user clicks on the Checkbox, such as toilets. It will display all the toilet locations via PictureBoxes. I want to do this without having to write all this code?

Private Sub chkCash_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles chkCash.CheckedChanged

If chkToilet.Checked And RadioButton1.Checked Then

[CODE]...

View 19 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

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

VS 2008 - ASCII To HEX Buffer Converting

Sep 16, 2009

I found this function from the net. But I have a problem with the reply buffer. The reply buffer is in ASCII value...but I need is HEX value. Is there any way that the reply buffer is in hex?

[Code]...

View 7 Replies

VS 2008 Empty Input Buffer

May 22, 2010

I am trying to empty my input buffer when I open up the serial port using this code but its not working any suggestions? Mainly just look at the last line [code]

View 6 Replies

VS 2008 Handle Events Of Serial Input Buffer

Apr 25, 2010

I want to handle the events of my serial input buffer. [code] My programming skills are not really that great so I've got a question:How can I trigger a sub (for example: ArduinoSerialInput) as soon as this event is handled? I've tried some code but without success, that's why I decided to post on the forum [code] I use a piece of hardware to send data to my COM port, but nothing happens.

View 7 Replies

VS 2008 The Output Char Buffer Is Too Small To Contain The Decoded Characters?

Oct 25, 2010

Dim r As New IO.BinaryReader(New IO.FileStream(path,IO.FileMode.Open))
While r.PeekChar() <> 0
End While

[code]......

View 1 Replies

VS 2008 User Control Complication With Windows Forms?

Nov 24, 2010

I have a program that I am creating in a windows form to track information about computers that I build for each project I do. The way I have my form layout is two buttons on the top of the form(1 for adding a computer and the 2nd to remove a computer) I then have a Tab window where when I want to add a computer I use the "Add button" click event to create a new tab and add a user control "Computer" that I created that contains all of the default fields that I desire (i.e. serial numbers os type, product key etc.) The "Computer" user control also contains two buttons (1 for adding a PC Card and the 2nd to remove a PC Card) The PC Card is another user control that I have created that has all of the desired fields I require for PC Cards. I am able to add new computers with no problem and name the tab

Dim b As New Computer
Dim x As String = Me.TabEquip.TabCount - 2
Dim tab As New TabPage("Computer" + x)

[code].....

View 2 Replies

DB/Reporting :: Using SQL 2008 Express With A Multi User .NET Windows Application?

Mar 26, 2009

I'm using SQL 2008 Express with a multi user VB.NET Windows application. Do I have to add each user to the SQL user account? Does NT AuthoritySYSTEM work? I do not know how this works. So far I have NT AuthoritySYSTEM in the Security-Logins of the Server. But do I have to add it also in the database? In the databse Security-User, I have the following:

[Code]...

View 1 Replies

VS 2008 No User Settings When App Starts At Windows Start Using Run Key In Registry?

Aug 10, 2010

I know similar questions have been asked/answered, but after looking across the net for 2 days I still haven't really seen an answer to the following question.rst, background info: My application starts at windows start as a user checkbox option (by using the run key in the registry.) I don't know if it is usual or not, but when the app auto starts on windows start, no saved user settings show up on the form (but they do when starting the program manually after windows is already running). I've tried both HKEY_CURRENT_USER and HKEY_LOCAL_MACHINE. In case anyone needs or wants it, my code for accessing the registry is:

Dim Reg As Object
Reg = CreateObject("Wscript.shell")
Reg.RegWrite("HKEY_CURRENT_USERSOFTWAREMICROSOFTWINDOWSCURRENTVERSIONRUN" &

[code].....

View 4 Replies

VS 2008 SpecialFolders - Get To The Personal Folder Of The Current User In Windows 7

Jun 8, 2010

But I am trying to get to the Personl folder of the current user in windows 7. Now there are two special folders: MyDocuments and Personal However they both lead to C:Users{USERNAME}Documents Shouldn't Personal lead to one back from that?

View 3 Replies

VS 2008 - Generating Custom Code For Windows Form From User Input

Mar 30, 2009

How to generate code from user input. In Visual Studio 2008, Visual Basic. My script always begins with:

Code:
function Init(Quest)
Then from here a user would input a quest name, type and zone in a interface using windows forms.
Ex:
Code:
RegisterQuest(Quest, "Kill Zombies", "Heritage", "Firestorm")
end
This part a user would enter in his interface what would an NPC say if accepted.
[Code] .....

What I need is a few text boxs that a user can input "Kill Zombies" or whatever they like and when they push a generate button it will create a file with a .quest extension. All of the code remains the same except for the quotes that would be the user input from the interface. Basically everything in quotes can be changed by the user in an interface. I have created my own functions for when a user accepts, deny and complete a quest. The user just needs to input what should happen then click a generate button to throw it all together as a .quest file to be saved in his or her quest folder for the server to call on later.

I also have many other functions like:
AddQuestRewardFaction --- (Quest, Faction ID, Amount)
AddQuestRewardCoin --- (Quest, Copper, Silver, Gold, Plat)
AddQuestStepObtainItem --- (Quest, Step ID, Description, Quantity, Percentage, TaskGroupText, Item ID(s))
Etc

I would also like to have these available on the UI but wont generate unless a user checks a box to add them or there is a box already for them but wont step into the code unless the user enters something into the box.

View 4 Replies

DB/Reporting :: Multi User - Windows Application With Back End As SQL Server 2008 Express

Mar 17, 2009

I'm working on a multi user VB.Net windows application with back end as SQL Server 2008 Express. The SQL Server is installed on the intranet network drive. This is the connection string I will be using. Is this correct?

Data Source=.SQLEXPRESS;AttachDbFilename=Q:DatabasePrintDB.mdf;Integrate d Security=True;Connect Timeout=30;User Instance=True

View 3 Replies

VS 2008 - NotifyIcon And Windows 7 - Creates An Icon In The Taskbar That Is Visible To The User Upon Creation

Jan 2, 2010

I've create a VB2008 app that upon clicking the applications Start button it creates an icon in the taskbar that is visible to the user upon creation, it also shows a balloon tip at the time of creation. This all works great when the program starts but once the balloon tip timeout value has elaped, the icon, in Windows 7, disappears from the visible portion of the taskbar and becomes hidden, which is only visible if the user shows the hidden icons.

My question is this...... In the VB2008 program is there any way to set the behavior of the icon so that it remains visible on the taskbar instead of allowing the icon to become hidden?

The original design of the program was to get an environmental variable, display the value of that variable in the balloontip, hide the form and then check every 10 minutes for a change in that environmental variable. Once the form was hidden the user could see that the program was running by the presence of the icon in the taskbar and if they hovered over the icon it would display the current value of the external variable. Also if the user wanted to return the form to it's full size all they had to do was click on the taskbar icon. With Windows 7 if I hide the form and the icon is not visible in the taskbar because it too is also hiddem this may create a problem for the user as they may not even be aware that Windows 7 hides the icon. So....Is there anyway to insure that the icon remains in the Windows 7 taskbar or is this a case where I need to re-evaluate my program design?

View 2 Replies

Allow Null Values, And Return A String To The User If No Date If Specified?

Mar 9, 2010

I want to create a custom date type. I want to allow null values, and return a string to the user if no date if specified.

View 13 Replies

Null Reference Exception Was Unhandled By User Code?

Feb 19, 2010

i develop the following code in vs2005, now i just using this module in my new project @ vs 2008..But this error was araised. I cant able to fix this problem...

Private Sub DataAccess()
Dim errHandle As New ErrorHandler
Dim lobjCommon As New eCopsCommonFunctions

[code].....

View 1 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

SelectedText Of A Combobox Returns Null In Windows Form?

May 18, 2010

I tried binding data to combobox at the runtime in the form load event. I had written the following bind function,

Private Sub BindComboBox()
Dim da As SqlDataAdapter
Dim conn As SqlConnection
Dim ds As DataSet = Nothing

[code]....

The problem is cboSubject.SelectedText is returning empty string.

View 3 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

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

Auto-fill A User Input Control With The User's Windows?

Feb 11, 2011

I am creating a form for work where managers can report when they find a customer's personal information laying around on a desk (we work at a call center where agents answer calls for a wireless cell phone provider, so we take personal information security very seriously). Anyway, I am wondering if there is a way to have a text box autofill with that manager's windows username (since they will need to be logged into their own profile to use the form).

View 2 Replies

Designer Provided Controls In A User Control (Null Reference Exception)

Feb 5, 2012

I have a really simple user control.Using the Designer I put two TextBoxes on it, nothing else.Here's the entire .vb file for this user control:[code]

View 6 Replies

Asp.net - Detect What Domain User Group A Windows User Is In?

Sep 10, 2009

I know that using Dim currUser As String = Request.ServerVariables("LOGON_USER") retunrs the DomainUsername, but I want to know what Group that user is in say in Active Directory.

View 2 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







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