axl's Q&A profile
Visual C# Authentication Method
First, let me start off by confessing that I am a former VB programmer (Pre .NET days) that has not written a line of code in many years. Now I am trying to dust off the coding cobwebs, learn the .NET framework, learn C#, and adapt to a "true" Object-Orientated method of programming... All at the same time! Now that the laughter in the room has subsided, here is my question: I need to add a login/authentication routine to the da ...Show All
SQL Server Parameter that can change
In the sql statement underneath, the parameter @erkenning should change wether the user gave in an option or not. If the user selects 'Geen' in the combobox then there should be: erkenning IS NULL If the user selects 'something' in the combobox else then 'Geen' the statement should be: erkenning = 'Something' I've tried to implement this in the statement underneath but it's not working. The syntax is wrong. [CODE] SELECT a.jaar, a.maand, a.naam, ...Show All
SQL Server Problems with restoring and deleting old keys- reporting services 2005
Hi all,Hope some could help with this problem: I have a reporting services 2005 installed and running.I am building a installer to move my reports to another computer. I read the article of how to do it - but it steel have one problem. when i am running the "Rskeymgmt –l" command and get the list of the source and destination computers with their keys.i am deleting the destination key using the command "Rskeymgmt –r + GUID&q ...Show All
Visual Studio Team System Does Beta3 Refresh support Workgroups?
After discovering that TFS really needs a separate PC as a domain controller I'm considering reformatting all my hard drives and installing Windows XP SP2 on my machines to give me a Workgroup development environment for a small team (5 developers) containing: 1 x Team Foundation Server (2.2 GHz + 1G RAM + Windows XP SP2) for data and application tier 1 x Build machine (1.5 GHz + 512M RAM + Windows XP - SP2) for continuous in ...Show All
Visual C++ VC++/MFC 8 not stable
Hey, I am affriad to say MFC 8 that comes with VS 2005 isnt stable at all. im working in a studio trying to work on a project, and i keep on wasting time on worthless issues. All of which have to do with pointers and the new operator. Latest issue is it will declare thepointer if i told it to load configuration from a file. but it wont declare it if i decide to load the configuration manually, i really dont know what difference does it make. im ...Show All
Visual Basic Programatically select items in LitBox
I know this is a complete newbee question, this is becuase I am new to VB, how would I go about programatically selecting items in a litsbox I need a quick way for the user to be able to select all items in the list. Thanks in advance To select all items and keep selected item focused and visible try this: void SelectAll() { //do whole operation within one update lb.BeginUpdate(); int topIndex = lb.IndexFromPoint(0, 0 ...Show All
Visual FoxPro include file conflict
I just found out that if I wanted to include two .h (header) files in a form the second one kicked the first one out. Is it only my wrong perception or it is supposed to be this way Thanks. I have no problems with including two header files for example in Init() method - all defined constants are visible. If you have, try to include your first file in your second .h file. ...Show All
Windows Forms 2 groupboxes & radiobuttons
Hello :) In 1 form, I have 2 group boxes. In those groupboxes, there are 10 radiobuttons: 5 in one groupbox, 5 in another. By default, it means I can have 2 radiobuttons selected at once. Is there any way to make it only able to select 1 radiobutton in the form Thanks, Klaidas PS: I'm using J# Hello Yes, you can handle this in the CheckedChanged events of the Radio Buttions, suppose that if rb ...Show All
Smart Device Development Adding a new target device to the VS2005 IDE?
How can I add a new target device (a custom WinCE Emulator OS) that I built with Platform Builder to the target device dropdown in visual studio In short, I built a Win CE OS using Platform Builder. Now I want to debug an application on this device (it's an emulator build) using the VS 2005 IDE in which I built the program. I can't figure out how to do this 1. Build SDK in PB. 2. Install SDK. 3. Fo ...Show All
SQL Server SSRS From ASP.NET
Hi, I am very new to SSRS and wanna know some very important things to begin reporting in it. I am developing an ASP.NET application where we report using datagrids. i now want to convert those reports to SSRS Reporting. but the problem is that all the queries of those reports are dynamically formed based on the querystring parametrs that the ASPX page recieves.It is something of this sort.... stringbuilder.append("Select ..... from ......"); s ...Show All
Visual C# Opening a file / stream.
Hi folks, i've got a file in a System.IO.Stream object. kewl. i have a button on my windows form which, when the user clicks it, the file will open with the appropriate default program. I'm not sure how to 'kick in/execute the file'. examples: 1) If the filestream object is an mp3 (ie. extension is .mp3), the default program for .mp3's will kick in 2) if the extension is .txt, notepade or wordpad (whatever is setup as defaults) will ...Show All
Visual C# generaion of signature
How to generate file signature How to generate spyware signature and lastly how they will be compared to find either they have been changed or not When you say "file signature" do you mean a check code or a hash What do you mean by "spyware signature" You can generate a file has in many ways. An MD5 hash is a common way to generate a file check code. ...Show All
Visual C++ Thread Synchronization
Hi I have Four Thread Function I want to execute these function sequentially How do i do this ThreadFun1() //when it complete start second one and so on.. ThreadFun2() ThreadFun3() ThreadFun4() all functions are in different classes thanx Manoj Jangid Just start them in one thread one after another. If you want to execute them sequentially there is no need to have separate threads! ...Show All
Visual Studio Express Editions ClickOnce and SQL Server data
I have a desktop app using a SQL Server 2005 Express database. The database is stored with the program files and gets included when I publish. What happens if I deploy my application with ClickOnce, a user enters data into the database, and then the application is updated with a newer version Will they lose their data How does this work tia If your data file is in the same folder as the executable and you in ...Show All
Windows Forms How to set the current cell programatically in datagridview?
Hi everybody, I tried the following code, but I still need to click on the cell before it is selected. Is there a way to make the a cell the selected... dataGridView.CurrentCell = dataGridView.Rows[e.RowIndex].Cells[pathIndex]; Any suggestions will be appreciated, Elvia Thanks vkh75, I tried your suggestion. I'm programming in Microsoft Visual C# 2005. With this line dataGridView ...Show All
