LeandroTubia's Q&A profile
Visual C++ Halting Keypresses?
Hi all, I am writing a program that is supposed to lock a user from the common key presses, i.e. Alt + F4, Crtl+Alt+Del, etc. I know I have to have case WM_KEYDOWN: switch(wParam) { //The Keypresses } break; My problem is that I do not know how to halt the keys from doing anything. I am certain that VK_F4 is for the F4 ...Show All
Windows Forms DatagridView in virtual mode(Unbound checkbox Column)unable to obtain dictionary key from dictionary
Hi, within my DataGridView which is bound to a dataTable I have added a virtual column of checkboxes. The checkedbox state is stored using the records OrderID in a systems.collections.gereric.Dictionary. What I'am trying to do is for every row(record checked) display its Orderid when I press a button. As the dictionary uses the "OrderId" as its Key value for each checked record it stores, I have tried to access this value but without su ...Show All
Visual Basic Regarding the "OF" Keyword in VB.NET
Hi, I am working on a VB.NET Project. Private _ReadOnlyPropertiesCollection As Generic.SortedList( Of String , cReadOnlyProperties) Kindly explain what this “ Of String “ means. I do not understand the meaning Of keyword. Kindly Help. Thanks, Ravikumar The Of keyword denotes a generic type parameter. Read this * article to ...Show All
Visual Studio Tools for Office working with sql server data in ms excel
Hi, I will give a brief first. I have some data in sql server and i want to put it into ms excel. The file would be first reviewed by admin who would have the functionality of sql server available. When its been emailed to users they will not have sql server available (sometimes the file might be send on a disk). When admin receive the file back it will again be reviewed and then saved back to sql server in different tables. Now my questio ...Show All
SQL Server Connecting SQL2000 problem
Hi All, I have a sqlserver 2000 & 2005 both installed on same server with the instance name as servername\sql2000 and servername\sql2005. When i try to connect the sql2000 database from dotnet2002 or 2003, It comes up with an error as sql server doesnot exist or access denied but when i tried with dotnet2005, i am able to connect it. I guess it has to do with an dotnet framework 1.0 & 1.1 but i am not sure where to look for it. ...Show All
Visual Studio Express Editions Problem in Query (VB 2005)
hi All, I am fighting with this issue since many hours but unable to get the desired result. I have a access data table with four columns date,projectcode,activitycode & activitytime. Now I made a query to get all records for selected date. Lets assume a datatable having records as following: projectcode activitycode activitytime XY 13 2 XZ 12 2 XZ 13 2 YZ 12 2 YZ 15 ...Show All
.NET Development Sign a XML file by SmartCard on the .NET
Ola ! Me chamo Andrei Johann, sou desenvolvedor .NET, e estamos tendo um problema no desenvolvimento em um software de assinatura de arquivos .xml utilizando a plataforma .NET Framework 2.0. A problematica e a seguinte: Necessitamos assinar arquivos .xml a partir de um certificado selecionado do STORE de certificados do usuario da maquina. Para isto estamos utilizando as classes X509Store para buscar os certificados d ...Show All
Visual C# Data Access String/Form
Hi there, Very much the noob to C# and programming but I know what I have to achieve so thats a good thing. I wish to create a form on an application that is the setup [credentials] for an SQL database. EG: Database,user,pass,DBname. I see that some applciations then save this to the Registry as a contstant or now I see that you can also store this securely in XML on the user logged on. Are there any examples that you may have seen ...Show All
Visual Studio Must uninstall VS2003?
Installing VS2005 beta 2 gives me an error at setup.exe saying I must uninstall VS2003 pro. Just to restate, it's not asking to uninstall 2005, it definately says 2003 What's up with that !!!! I am doing some investigation here to see if we can repro this problem. I believe there should be no block for VS2003 ENT and that the only blocks should be for VS2005 previous builds. Can you try ru ...Show All
SQL Server Drop Down Parameter List
I have a string with values that are separated by a space. It looks like this: DAY MICS SUN FIX STD . I would like to take the string and make it a drop down list in a report parameter. I have tried the split function but it errors on me. How can I accomplish this Thanks for responding. Yes the value is dynamic. When you say do the split in T-SQL (Transaction SQL ) how do you do that I dropped the cod ...Show All
Visual C# Dynamically moving controls
I have six panels, each panel contains a textbox and its label. Each panel has a checkbox associated with it on the form, but outside of its respective panel. I only want the panels whos checkboxes are checked to be visible. If another checkbox is checked, I want that respective panel to be displayed directly under the last panel displayed. Once that checkbox is unchecked, I want the panel to disapear, and all the other panels that come after, t ...Show All
Visual Basic Saving gif files
Hi people, For a jpg file, you can save the file with the save method of the image object and you can specifiy a quality. code: currentImage.Save(SaveFileDialog1.FileName, _codec, GetQuality()) First parameter is the name of the file. Second is the ImageCodecInfo, here a jpg. Thrid is the quality as encoderparameters. Now I would like to save a .jpg file as a .gif file and I want to set a number of colors that it wants to use ...Show All
Visual Studio Express Editions creating a .exe File
Hello, i have a really simple question, I’m a noob on Visual Basic. Can I create .exe Files with Microsoft Visual Baisx 2005 Express Edition greetz steverino Hello Steve, yes you can. See this page for more info about what types of projects you can create in VB Express: http://msdn2.microsoft.com/en-us/library/b4z62wxz(en-US,VS.80).aspx Console applications and Windows applications produce an executa ...Show All
Visual C# How to associate a column with dataGrid
suppose i have query select name, father_name, Grad, Loc from emp , now i want to associate only name and father_name with data grid. So how can i do. You can this by creating two columns in the DataGrid i.e NAME, FATHER NAME. then assign the Column DataPropertyName to the respective column of the Database. ...Show All
SQL Server Page Breaks based on a new value of a field in SQL Report
I have a SQL report which I have created in VS2003.NET which contains fields e.g. surname, firstname, date of birth and ref no. Please see the table below for reference. I was wandering if it is possible in reporting services to programmatically say if the ref no. is 19 or 20 and so forth on the report, to only show records of the same ref no. on the same page(s) and begin a new page if  ...Show All
