NicoRi's Q&A profile
Visual Basic Mixed data type in a Mulicolumn listbox
How do I store an object and the object.text in two separate columns in the same row of a listbox I want to make one listbox column visible and one hidden. Why do you need two columns then if you making one invisible. The following simply adds objects to a listbox. As long as you override the tostring property this is what will show in the listbox but underlying the item is the object which you can cast to and then use the properties as you would any object. So in this case I populate the list it shows 4 items. Then I click the button and it will display a messagebox of the age for the selected item. You never see the age fi ...Show All
Visual Basic GUID
How do I generate a GUID from vb express 2005 beta 2 I have search the internet but all I could find was "select guid from menu". This is not what I want. My program needs to generate a GUID from a button click. Thanks in advance, ...Show All
Windows Forms RichTextBox - Font Changing
Is there a way to change the font of the selection in a RichTextBox without change the size of the selection and vice versa Example: I have 2 words with different sizes, I select them and change the font, and the size of them not change (Like in Word and WordPad). This is not possible with the RichTextBox because the SelectionFont property takes an instance of the Font class which requires both a font and a size. ...Show All
.NET Development How do I install Net Framework Beta 2.0 on Web Sever without Visual Studio?
I want to install the Framework on a Web-Server without installing Visual Studio 2005 Beta 2.0 Having installed dotnetfx.exe (from MSDN\DotNetFramework on the BETA-CD) I do not have the .NET Version-Selection available under IIS as I used to have on the older Beta. (yes, I deinstalled the older beta before installing the new one) I guess I installed the wrong dotNetFX your help is very much apreciated refer to this post no 22602 ...Show All
SQL Server Meta Data Management / Dependancy Analysis
BI perspective, meta data management is quite crucial. In SQL 2000, as far as I know we didn't have a great support for meta data. Has that changed in SQL2005 What about dependancy analysis For example if I drop a column from a SSIS data flow what would be affected Is it possible Thanks Jamie As you say someone will come up with something soon. It is going to be a valuable tool. Clients enquire this type feature when we try to sell MS DW solution to them. Maybe Darren and Allan can come up with something hint hint :-) Thanks Sutha PS - Jamie, I haven't done that mail yet ...Show All
SQL Server Copying stored procedures
Hi, Could someone please advise me of how to copy stored procedures from one database to another Many thanks, James Hi, which version of SQL Server are you using Normally I would script the procedures, get the script and execute it on the other server and voila, you done. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual Studio Team System Can you use SQL 2005 Developer Edition?
Each member of our development team has their own MSDN subscription (2 architect, 5 developer + 1 project manager). If we wanted to use Team System, can we use the SQL 2005 Dev Edition that came with our MSDN DVD's for Team System Well, my company is thinking about working with TFS, so i've been assigned to test its functionalities and deployment possibilities. So in this context, i'm using SQL server 2005 Developper and it does work very well, yes no problem. For license question, i think Carson is right, beware of this, it's very important. So, apparently there is not technical incompatibilities, ...Show All
Visual C++ Processes List
Hi, I want to create a list of all the running processes (in c or c++) and their properties (i.d. , name, user-name, IO-Reads and more). The list must include all the processes (idle system process too) of all the users of the computer (administrator, LOCAL SERVICE, NETWORK SERVICE and all the others). Does anybody knows how to do it Thanks I am sorry, I have no further idea. I just used the MSDN sample, added the code for the debug priviliges and I could see the processes name of all processes on my machine. OpenProcess succeeded for every process. If it fails on your machine, what does GetLastError say I have really no other i ...Show All
Smart Device Development How to edit Registry using .NET CF please?
Does any one know how to edit (read, write) Registry entries. Please give an advice. Thanks You can do it pretty much the same way as on desktop for NETCF V2 (e.g. Microsoft.Win32.RegistryKey class). OpenNetcf.org offers registry support for NETCF V1 which mimics desktop as well. ...Show All
Visual Basic Timer in a Panel
Dear Team How the timer can be displayed in a panel in a stausebar Thank you very much Mr Huyen Thank you very much for replying Kindely give me a little time to empliment it ...Show All
Visual Basic Access or SQL Which one is better
Hi I'm wondering, which one would be better, i'm creating 2 medical programs, that are going to be running on a local machine, I Use visual Basic 2005 express and don't know if I should develop with access or SQL 2005 express. Which one is better and faster Any suggestions or comments will come in handy. PS. Future versions might have network connections, like for a secretary or interoffice connections. So should i work on access or SQL express SQLE is *better* in that it does more. The real question is, which is the appropriate tool fo hte job. If you expect to run the database on a seperate ma ...Show All
Windows Forms Clickonce and windows 2000
Hello i have a problem about deployin click once applicaton to windows 2000 client in visual studio 2005. when i install or run the applicaton in windows 2000 client "open with" screen has shown and applicaton does not work. in windows xp clinents, it works normally. thanks. We are having similar issues. The user clicks our URL to launch the ClickOnce app, and nothing happens. Works fine on other client workstations... Please help ...Show All
Software Development for Windows Vista SqlStatePersistenceService
Hi while trying examples at lab10 and sql state persistence all the time an exception of type System.ArgumentException is risen with text 'unable to open database exception'. I have SQL Server 8 installed on my machine in addition to SQL Server 2005 CTP. Could that be disturbing Ho do I communicate to SQL Server 2005 CTP in order to differ to what appear to be SQL Server 8 What are credentials fot SQL Server 2005 CTP Any ideas -Adis Adis, Both versions of SQL Server should be supported. Could you attach more exception information (i.e. the inner exception/message) Here are a couple things ...Show All
Visual Studio 2008 (Pre-release) WPF is going be absent in First Vista Release
Hello all, I am reading on some news groups that WPF is not going to be there in initial release of windows vista. Does anyone knows more about it I cannot imagine vista without WPF. Any thoughts from experts Thanks Basav Until it is final, it is not final. That said, the last I heard (At the Mobility group partner briefing this week), is that WPF will be on the Vista CD, but will be an optional component that the user must select to install. It will not be installed by default. This is largely because the WPF and WCF components install together, and WCF has a large security surface. ...Show All
Windows Forms DirectX with c#
How can i make dx9 play mp3 files... thanks in advance. Bruno. Yes it is possible Bruno. I have written a lot of code using Directx9.0 in vb.net. For mp3's instead of using direct sound you actually have to use direct audio and video playback. Takes about five minutes to write code that plays mp3's. From there you can add features lik ...Show All
