Migrant's Q&A profile
SQL Server Dynamically Positioning the table in the report layout
HI , Is it possible to dynamically position the table in the report. i,e. I will have two table, first table will be displayed only if the query returns data, else it willl be hidden. When the query does not returns any data, then the second table will be displayed( which will have some text displayed). But my requirment is, both the table when displayed will be displayed from the first page itslef. Something like this, First report will be vertically aligned to the top of the report. and the second table will be vertically alligned to the first table. So when the first table is hidden, then the second table will be rolled ...Show All
Windows Forms Combobox in a Datagrid -- Good VB.net examples?
Hi....this is crazy. I've been searching all day for an article/tutorial on how to include a bound combobox in a datagrid for winforms. I find alota small posts, but nothing substantial. And much is for webforms. Does anyone have a link they can lend Thanks, John This is the page of all datagrid stuff: http://www.syncfusion.com/FAQ/WinFo ...Show All
Visual Studio Team System About the latest MSF download...
The process guidance made available for downloading in May (build 100.4 I believe): is it just a process guidance or an update to the whole process template How can I use it to upgrade my current project's process template/guidance already existing Thank you, Sammy To change an existing project, see http://blogs.msdn.com/randymiller/archive/2006/04/11/573525.aspx I am working on a sharepoint script to check out all of the files but it is a back burner project right now. Randy ...Show All
Windows Forms Unselect item from a listbox
When data is retrieved from my database and placed in a listbox, the first item is always selected. However, I do not want that behavior. How do you programatically unselect items in a listbox I know how to do it using a webform listbox, but the windowsform listbox does not work the same way. Thanks, Bill.. Well, if you're interested in& ...Show All
Visual Studio Express Editions Where To Put Initialization Code
I keep some interface settings in a local MSaccess database. The question I have is: where should I put the code that queries that database and sets up some initial variables so that they will be available to the entire application as needed. Would I just have to add a module to my solution to do this, and put the code that initializes in there If that's the answer, I can't figure out what sort of sub to put my database query code in. Thanks for any pointers. You can use either a standard or class module. If you use a standard module, just create a Public Sub (or Function if you need to return a val ...Show All
Visual Basic Call java class from visual basic
Hi, how can i call a java method from a visual basic application Any idea is wellcome 'cause i really don't know where to begin searching for this... Thanks. Hi, Maybe this will help. http://www.jnbridge.com/ Ken ...Show All
Visual Studio Express Editions linking error after installing VC++ express beta 2 with PSDK
I am testing an empty Win32 project as suggested in 'http:/lab.msdn.microsoft.com/express/visualc/usingpsdk/default.aspx' but it results in the following error: ------ Build started: Project: test2, Configuration: Debug Win32 ------ Compiling... stdafx.cpp Compiling... test2.cpp Compiling resources... Compiling manifest to resources... Linking... LINK : fatal error LNK1104: cannot open file 'shell32.libole32.lib' Build log was saved at "file://c:\Documents and Settings\Rogier.NIMH-LN\My Documents\Visual Studio 2005\Projects\test2\test2\Debug\BuildLog.htm" test2 - 1 error(s), 0 warning(s) ========== Build: 0 ...Show All
Smart Device Development 2005 C/C++ codegen vs eVC4
Hi, I'm in the middle of porting a high performance 3d app to a CE 4.2 device, I'm currently using eVC4. Would using Visual Studio 2005 (with the plugin) give me better code generation than eVC 4 At the moment I am unable to do inline asm (__asm) for ARM4I using eVC4. Would this be possible in 2005 Many thanks, Steven Haggerty. Is there a way I can send a mouse/stylus click to a control in .NET CF 1 I have a numericupdown control that I'd like to cause a click event on. Thanks. ...Show All
.NET Development Shared Memory or Memory File
Hi all, Is it feasible for me to create a chunk of SHARED MEMORY or a MEMORY FILE in .net to share some objects across boundary of processes It will be great, if you can post some working samples! Thanks, Ning argh none of this is what I want. it is either server communication or serialization. I want to use shared memory to store some data in a program, much like the quick launch applications in a system tray, but only for the purposes of debugging so I don't have to reload textures and things every time I debug. All of it seems like it would be too slow or make duplicates in memory. Of course there a ...Show All
Visual Studio Team System Continuous Integration with TFS Build?
Hi, For the build automation, can TFS Build perform Continuous Integration itself Or do I have to combine TFS Build with CruiseControl to get continuous Integration on a Team Foundation Server You may also check Parabuild. There is a demo that shows how to set up a continuous integration server for .NET under 15 min.: http://www.viewtier.com/support/demo/continuous_integration_for_dotnet_and_nant.htm Regards, Slava Imeshev ...Show All
Windows Forms Tracking mouse movement
Is there any way to track the mouse movement for the whole PC What I'm trying to do is write an application that goes idle after a certain amount of time and "wakes up" when the user sits down at the PC and moves the mouse. I can't figure out how to do this unless they move the mouse over my application's form. Thanks! ...Show All
Visual Studio Crystal Report Windows Forms Wiewer Error: "Object reference not set to an instance of an object"
Hello: I installed first Microsoft Framework 1.1 and a software that uses Crystal Report Windows Forms Viewer. It seems was made with Microsoft Visual Studio NET .2003. My problem is that this software doesn’t print the reports, in the preview I only get this message: TITTLE: "Crystal Report Windows Forms Viewer" Message: "Object Reference not set to an instance of an object" It happens in 2 pc’s with Windows 98 and 2pc’s with windows XP in others with W98 or Wxp The reports show correctly. Please Help me to find the ...Show All
Visual Basic How to hide app in system tray on startup?
Hi all, I have a vb.net application where I want to be in the system tray when it starts up. I included the controls NotifyIcon and ContextMenuStrip in my form and everything works fine. But I do not want my app to be visible on startup, only when the user clicks on my system tray icon then it will launch the form. How can I hide my app on startup Where should I put me.hide() in my form I cannot put me.hide() on form load because then my app will never be visible... Use a Sub Main as the startup procedure, add the icon to the notification area and call Application.Run() without passing in a Form to start p ...Show All
Windows Forms Painting problems
Hi forum. I've created a custom control that does it's own painting. These are the styles i'm setting in the constructor : SetStyle(ControlStyles.UserPaint, true); SetStyle(ControlStyles.SupportsTransparentBackColor, true); SetStyle(ControlStyles.ResizeRedraw, true); SetStyle(ControlStyles.DoubleBuffer, true); SetStyle(ControlStyles.AllPaintingInWmPaint, true); All is fine, everything behaves like it should. I just thought the control was finished&n ...Show All
Software Development for Windows Vista Getting Host Variables
Im wondering if anyone can help me. I am hosting Windows Workflow in ASP.NET. In ASP.NET I am using NHibernate. NHibernate has a run time variable that is created when the web app starts up that all the sessions use to create querys, etc. Its a good practice to only have ony application variable because of 2nd level caching, etc. My question is how would I go about getting access to this application variable inside windows workflow. I cant pass the variable becuase the workflow my hyderate, etc. Is there anyway I could go to the host context and get a application variable I guess I am looking for something like.. wwf.host.application[" ...Show All
