flamingwoodchuck's Q&A profile
Windows Forms multiple files search in a directory?
Does anyone know of a simple way to return multiple files extensions from a directory search. This is what I'm trying to do. Dim strFiles as String() strFiles = Directory.GetFiles(p_strSourcePath, strFileNum & ".jpg* " & strFileNum & ".bmp* ...Show All
Software Development for Windows Vista HandleExternalActivity not subscribing to event
Hi, I have a state machine workflow with a state that uses the HandleExternalActivity activity. I have set it up to use an event in my custom interface. However, when the implementation of my interface raises the event I can see that there are no subscribers to the event. In other words, the HandleExternalActivity activity hasn't subscribed to the event. Any ideas what would cause this Thanks, Kent ...Show All
Windows Forms how do i change the text size of richtextbox
this.richTextBox1.LoadFile("c:\\grammar\\questions\\40.rtf"); i use the code to load a .rtf file into a richtext box. how do i change the text size after loading it. If you just want to affect the size without changing the actual font used ( ...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
Smart Device Development SendKeys
Admittedly, this wouldn't be my ideal solution, but is it possible to emulate the "action" button on a pocket pc or smartphone For instance, if I've popped a CameraCaptureDialog, can I automate image capture and approval simply by pushing the keycode at it Or is it possible to raise any events against this dialog cool . that means you found a way to automatically trigger a photo with a pda, save it, a ...Show All
Windows Forms DatagridviewComboboxColumn Draw Text Only
I am trying to figure out how to display, in a DatagridviewComboboxColumn, only the text and not the down arrow button when the cell is not in editing mode or the current cell. I would assume that I need to use the CellPainting event but I can't figure out how (I am a VB6 developer who just started using VB .Net so any code would be greatly appreicated) Thanks Simmy http://forums.microsoft.com/MSDN/ShowPost.a ...Show All
SQL Server Job generates login error
I have a package which will run in Management Studio. The package is saved in MSDB. When I try to set up a job, the step errors out with what appears to be a login error. I am specifying windows authentication in the job and also used that when creating the package. the package was recreated - I changed the encription option to 'Rely on server . . .' and changed the source path from X:\Directory\FileName to \\HostServerNam ...Show All
Visual C# Custom Control Error Message Hell!
Hey howzit I am trying to implement a new user control...all that it allows is for the user to assign each control to a group. One group of OurRadioButton's consist of 2 or more radio buttons and if they have the same checkgroup then you can only check one of them in the group. BUT I keep getting this error message: (the error message appears as a message box type message not in VS debug) "Property value is not valid: Una ...Show All
Visual Basic Delete in gridview
Hi, I have a problem with the gridview. When I bind a datasource to a gridview and I enable built- in functionality to delete a record it is working fine (so no code is written by me). But sometimes when the record that needs to be deleted can't be deleted because of a constraint you get an awful server error " DELETE statement conflicted with COLUMN REFERENCE constraint ..." How can I solve this without needing to write the code ...Show All
Smart Device Development Data Synchronization between Desktop Application and PocketPC application
hi i am developing an application that needs to synchronize its data between desktop application and pocketpc application like the putlook do , i found the active sync api and tried the fiven sample too My problem is that when i ran that activesync wizard in VC6.0 it created a project ....for SH3 platform (in the doc it said that it creates for ARM as well) when i compiled and build that application it didn't excute saying the same plat form di ...Show All
Windows Forms Really horrible experience
:( ok this really scared me today, well about 5 minutes ago. Maybe someone can explain to me what happened and how it could be avoided. Thanks in advance. Everything was working fine in the Win Form application which i am making in C#, und ...Show All
Visual Studio Working with search results
Hello Here is the problem : I have a large solution with plenty of projects and folders. When ever I search something, I get results like d:\projectname\development\web\webproject\yetAnotherFolder\AndAnotherOne\help.cs This is a bit anoying. I would like to see onelevelFoler\Class.cs in the results . With the help of vbdocman , I've managed to get my hands on the results of the search and now I would like to modify it but the window is rea ...Show All
Visual Studio 2008 (Pre-release) DLINQ Designer for Express editions
are there any plans for making the DLINQ Desginer available for the Visual C# 2005 Express Edition ...Show All
Visual Studio Converting class diagram files from Beta 1 to Beta 2 format
FYI: I've posted information on how to convert class diagram files to Beta 2 format on the Class Designer WebLog Best regards, Oleg ...Show All
Visual Studio Adding code lines to a VS 2005 source code file
I need to add some code lines to an existing source code file (.cs or .vb) in VS 2005. I'm writing a VSPackage that has to do this. Which is the better way to do this - I add code lines directly in the source file as text - I get the code dom graph and I add the code lines adding instruction statement to it and then serializing it again. - other... Any hints Thanks Hi Alex, I found i ...Show All
