Philippe Trottier's Q&A profile
SQL Server How to control visibility of table columns at runtime?
Hi all.. Using ReportViewer in an ASPX page, is it possible to hide certain columns of a table at runtime That table is databound to a business object and I'm using local reporting capabilities of Visual Studio 2005. Thanks Jaime Hi Robert.. I meant programmatically. How can I change Visibility property of the table using code. Suppose the table is named tblDatos and report viewer control is named rptBusqueda. Jaime ...Show All
Visual C++ Calling Managed Code from Unmanaged Code ?????
I found this great example on this issue: http://www.codeproject.com/managedcpp/unmanaged_to_managed.asp unfortunatelly , it only works on v.s.net 2003 , and in order to compile it in v.s.net 2005 with the /clr option, you have to make a lot of changes in the code like replacing _gc with ref and alot of other things. I tried to do it, but after all the changes, it still didn't work can someone refer me to an example which is su ...Show All
Windows Forms Image size in milimeters
Hi, How can I get image (bitmap) size in milimeters Thank's Alexei Hi, I didn't mention that I want to make millimetres to pixels, sorry. How is that working I must have a small mistake. ...Show All
SQL Server Pictures not displaying
I tried to search for this but couldnt get a satisfactory solution.. We have pictures stored in a table as BLOB files. When I try to display them through RS it just shows 'X' in that field... Any help is appreciated.. Have a look here: http://msdn2.microsoft.com/en-us/library/ms156342(SQL.90).aspx -chris ...Show All
Visual Studio 2008 (Pre-release) Usercontrol Nightmare
I do not know what I am doing wrong but I am starting to pull my hair out. I am using VS and EID to create a quite complex UI, and I am trying to use usercontrols to encapsulate as much as I can. However... Any user control I create and put on a window or page either never renders and just shows up with the classname of the usercontrol in the top left corner, OR when you place it on the page in EID it says "Cannot instantiate <ClassN ...Show All
Visual Studio Express Editions insert filename into SQL Table
Hi I'm just not getting this but how can you insert the filename into a table. I managed to upload a file from website to my hard drive but now what to save the filename to a field in the database. Can someone please help Here's the code for aspx file and following the code for aspx.vb file: <% @ Page Language ="VB" MasterPageFile ="~/MasterPage.master" AutoEventWireup ="false" CodeFil ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Convert from OpenGL right-hand coordsys to Direct3D left-hand
Hi, I am porting from OpenGL to Direct3D, but have some trouble going from OpenGL's right-hand coordinate system to Direct3D's left-hand coordinate system. I have a transformation matrix that I want to apply/load into to the virtual camera (the viewer): | r00 r01 r02 tx | | r10 r11 r12 ty | | r20 r21 r22 tz | | 0 0 0 1 | Where the 3x3 r's makes the rotation m ...Show All
Visual Studio Express Editions Can a number of RadioButtons be accessed with a for..next loop?
I am working with RadioButton1 thru RadioButton12. Can they be accessed with a for..next loop instead of 12 separate if..then..else statements For each ctrl in me.controls if typeof ctrl is radiobutton then ctrl = directcast(ctrl, radiobutton) ctrl.checked = true ...Show All
Smart Device Development MSMQ writing to remote queues in Windows Mobile 5.0
I have a Dell Axim x51v upon which I'm trying to get MSMQ working. According to this article , there were previous limitations on remote queues which were probably going to be fixed in the final release. My ultimate goal is to have my mobile device be able to send messages to a queue residing on my server (Windows Server 2003) when it is not necessarily on the same internal network. Below is a summary of what I've tried and what my iss ...Show All
Visual C# Where can I find free table component for VS2005?
Just like the Excel worksheets.. ...Show All
Windows Forms Size of MDI Children after unmaximize
Hi There, I'm having a problem when I unmaximize a mdi children, I have several forms with exactly the same size and minimum size, but when I unmaximize them (I don't know if this is the correct term to describe it) they get d ...Show All
Visual Basic Code Help
Hi, I've got a big problem here. I've got a Browser written in C# and I'm trying to convert the code into VB.Net and for the most part I've been able to do this. The Go button though I'm having a lot of trouble with. Can anyone tell me how to turn this into VB This is the C# code for my "buttonGo". private void buttonGo_Click( object sender, System.EventArgs e) { System.Object nullObject = 0; string str = " ...Show All
Visual Studio Team System Error 32000 widbloc.exe - <servername> -d CurritukDB Returned a non-zero value:1
Fails at end of setup. WInPopUp: Error 32000 widbloc.exe - <servername> -d CurritukDB Returned a non-zero value:1 I have looked at most of the setup issues - cannot determine where this is a problem. SQL 2005 probably. I think I used the June CTP originally on this test setup. Dual Server Deployment It goes without saying that this could be a wonderful product - particularly with PS v.12 and SPS v.3 - BUT: if there are so many glaring issu ...Show All
Windows Forms Finding the primary key# from a combobox or listbox selection
I have a basic app(VB 2k5) that reads a sql mobile database. I do not want the user to see a datagrid thus i am using listboxes,comboboxes and textboxes for input/output. The problem lies when i want to delete a record, i plan on doing this by getting the primary key of the record to be deleted, the problem is the selected value property does not translate into a primary key index.How can i get the primary key of a selected record I have tried t ...Show All
Visual Studio Express Editions Read line listbox to variable
Hello I have a listbox and i need some of the lines But how can i write them best to an variable,array() I am looking but doesn't found the right code (instruction) Thanks The listbox has an items collection. Just iterate over it, or use the indexes if you know them, and copy them to a list. The list should have a ToArray method when you're done, at least I know ArrayList did. ...Show All
