Answer Questions
Trinix Find who's logged on?
Is there a way to find all the users who are currently logged on to our Windows network Is that info stored in Active Directory Thanks... I'm truly sorry, but I'm running a single user system without Active Directory. I wish I could be of more assistance. nbrege, Here is a code sample on checking user logon: Public Function IsAuthenticated( ByVal domain As String , ByVal username As String , ByVal pwd As String ) As Boolean Dim _path As String Dim _filterAttribute As String Dim servername As String = ConfigurationSettings.AppSettings( "serverpath" ).ToString 'Whether Authenticated User or Not Dim domainAndUser ...Show All
AustinMyers Clean Install of Framework 3.0 + VS Express Editions
Are they compatible , should I install first the Framework 3.0 and then VS Express . This's a clean install in a xp sp2 machine. Sorry, and one more : Which version of framework is embedded in the VS Express Edition install Thanks! from Argentina! Express is based on .Net 2.0. And .Net 3.0 is also based on .Net 2.0. 3.0 uses the same base class libraries it just adds new technologie WPF (aka Avalon), WCF (aka Indigo), WF (workflow). So you should be fine installaling them both. Starting with .Net 3.0 should be OK. -- SvenC no no no. The add-in is for visual studio 2005 and express editions. It allows you to use .NET 3.0 with it. So download it and install it. in regards to .NET framework, ...Show All
DasSteve Why doesnt this work ?
Im trying to make a delay for 2 seconds... This is what im trying to do: 1. Button click 2. event happens 3. wait 2 seconds 4. event happens 5. and so on. But i cant get the timer to work. Im pasting the code part that i cant get to work. all help is greatly appreciated. Thx Imports System Imports System.Timers Public Class Form1 Public Sub timer() Dim aTimer As New System.Timers.Timer() ' Hook up the Elapsed event for the timer. AddHandler aTimer.Elapsed, AddressOf OnTimedEvent ' Set the Interval to 2 seconds (2000 milliseconds). aTimer.Interval = 2000 aTimer.Enabled = True End Sub Public Sub ...Show All
Takato VB - where is my executable? Publishing??
I have written a simple bit of code that copies a couple of files from a CD to the local desktop. Nothing fancy cos its my first outing with VB. The code simply flashes a splash screen and then prompts the user to agree to the files being copied. The code has been debugged and compiled and works fine during debug (F5), however, I now want to run the executable .exe file Where is it There is an exe in the debug and release folders of each of the bin and obj folders (4 files total) and then there is another in the publish folder. None of them run properly - all result in the MS message that an error has occurred. I'm not sure I understand the complexities of what publishing actually is vs simply compiling to an ...Show All
Emre Çetinkaya why always link odbc32.lib, how to unlink it
when I build a project the vc++ 2005 express edition always link odbc32.lib even the project just #include <iostream> using namespace std; void main(){ cout << "test" << endl; } I don't want it always link the odbc32.lib how to unlink it how to config , I am a beginner please use the large fontsize bold font and Courier New fontstyle thanks Thanks, I HAD already Windows/product SDK but for some reason I hadnt that famous odbc32.lib. The guide above helped much. I even removed these: odbc32.lib, odbccp32.lib from that that path and now it works. I'm just wondering why such advice has ...Show All
mblas Spell checker question?
Hello. In amongst the different things ya can add to ya projects, does Visual Basic 2005 Express Edition have a spell checker ya can add to ya project Av just finished making a pad wich a can open and save text file, rich text files etc, and I was wanting to add a spell checker. Thank you. There is not one built into VB. You can use the open source NetSpell with your app. http://sourceforge.net/projects/netspell/ Thanx Ken. I go that one, very much apreciated. Thank you. Thanx for that Ken Tucker. I tried it but can't download it....Page Not found Error. Is there any others ya might know of please Thank you. ...Show All
blemos datagrid requery
hi there!!! i have a problem regarding datagrid... how can i connect the datagrid to my database(code only)... and how can i requery the items in the datagrid using some condition thru combobox when i click the OK button... pls help.... pinoyz, For the first question, connect the DataGrid to Database by code is as follows: Dim connection As New SqlConnection(ConnectionString) connection.Open() Dim adapter As New SqlDataAdapter(GetAllAuthorsSqlString, connection) Dim dataset As New DataSet adapter.Fill(dataset) adapter.Dispose() connection.Close() Dim table As DataTable = dataset.Tables(0) AddHandler table.ColumnChanged, New DataColumnChangeEventHand ...Show All
James Nesbitt Working folder is already in use
Just migrated from VSS to TFS and its fantastic! Having a problem on my PC when trying to get source code for a project. I get the message ' The working folder is already in use by another workspace on this computer'. I have cleared all the work spaces for all users on my machine (as far as I can tell) by clearing down the C:\Documents and Settings\[user]\Local Settings\Application Data\Microsoft\Team Foundation\1.0\Cache\VersionControl.config files. I have also had a poke around in the tbl_Workspace and tbl_Workingfolder on the server to make sure there are no stray workspaces defined. Does anyone have any ideas on how to resolve this One thing that may be causing the problem is that our development team is working on vir ...Show All
Ludovico ServerMap.xml issue?
Here's my ServerMap.xml file: <ArrayOfEntry xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance " xmlns:xsd=" http://www.w3.org/2001/XMLSchema "> <Entry> <Key xsi:type="xsd:string">http://tfsvr1.foo.com:8080/Services/v1.0/Registration.asmx</Key> <Value xsi:type="xsd:string">137027A7-AF9D-4C57-BBEA-ADA7970899E7</Value> </Entry> <Entry> <Key xsi:type="xsd:string">http://tfs-testing.foo.com:8080/Services/v1.0/Registration.asmx</Key> <Value xsi:type="xsd:string">137027A7-AF9D-4C57-BBEA-ADA7970899E7</Value> </Entry> <Entry> <Key xsi:type="xsd:string">http://tfs01.foo. ...Show All
ArchanaG Starter Kits wont install
i downloaded the Web Club Starter kit for Vb 2005 but it wont install!! i keep getting this message.. "Installation stopped because the directory for the ProjectType value did not exist. The project type is invalid for your installation of Visual Studio." can anyone help me also i unistalled C# but when i go to install the starter kit it still asks if i want to install it for C# as well! (just thought id mension that) Stuart Your trying to install the Web Club Starter kit on a VB Express Install. VB Express doesnt support Web Development. You can try installing after installing Visual Web Developer Express or purchase a copy of Visual Basic which does support Web deve ...Show All
Attila Fogel Compile and Build Project from command line or programatically
I would like to compile/build a complete project from the command line or do so programmatically. What are the command line instructions and how can I do this from another application The problem is that even if the .dll is in the global cache, when I compile a knew one (from within my main program) the dll will change to a knew one. I want to know how to change the reference that another program has, to the knewly created program. All this is happening at runtime. hi, dealing with assembly at runtime you need to use "Reflection" , unfortunatly i don't know much about it, you can review it on MSDN or codeproject.com hope this helps yes this is possible: you would need to use the csc.exe with the ...Show All
ashk1860 program starts with a right-mouse click...
My program will be initiated by a menu selection from a right-mouse click. I'm trying to find the code which will tell the program the directory & file name of the icon which was clicked to start the process. Can someone help Thanks. The path I need is in argv[1] If you are talking about right-clicking a file in Windows Explorer: the name of the file you right-clicked gets passed to the program through the command line. You'd make the association of filename extension to the program that opens it with: Explorer, Tools + Folder Options, File Types tab. Maybe we've misunderstood each other. My program is designed to be be initiated by a selection from a m ...Show All
lepi Error Message "IUIService could not be found"
Error Message "IUIService could not be found" I am getting this message when trying to connect to a Team foundation Server. Can anyone tell me how to resolve this without reinstalling TFS IUIService comes under System.Windows.Forms.Design namespace so it doesn't seem like TFS issue. Does this happen only when connecting to TFS Are you able to use other feature of VS This happenened when loading Visual Studio. Not sure why, but doing a repair took care of the problem. ...Show All
GillRanjit How to change the selection back color of winform datagrid row with custom datagrid columns
Hi, today figured out how to change the row color of a winform datagrid based on a particular column value, using custom datagridcolumn class However, i am not able to change the selectionbackcolor/forecolor of the row. The values for these in datagrid and datagridtablestyle properties are ineffective. In the inherited datagridcolumn class i tried to get the value of the selected row index, but it always throws an exception Public Class ColoredTextBoxColumn Inherits DataGridTextBoxColumn Protected Overloads Overrides Sub Paint(ByVal graph As Graphics, _ ByVal rectbounds As Rectangle, ByVal curmngrSrc As _ CurrencyManager, ByVal RowNumber As Integer, ByVal _ ForeColorBrush As Brush, ByVal BackColorBrush As Brush, _ ByVal ...Show All
nicola_italia SerialPort 101 for a beginner
Hello, I have spent a lot of time trying to use the serial port command in the toolbox but i was unsucessful. I looked at the samples posted online but i always get errrors. Can anyone explains what are the steps needed to have a sucessful communication (read and write) from and to a serialport.If you can post the code it would be great...Please help Thank you **can you help me figure this out.I am just following what you said. From the beginning. I openned a form in Vb Express and then I dragged the serialPort icon from the toolbox to the form and i defined all it's properties like baud rate, the com port and all that. next i created a button icon on the form and them i double clicked it so that i would get into the form1.vb[desi ...Show All
