madhan's Q&A profile
Visual Basic skins
Do you guys know some sites where I can get custom skins for vb.net and how to use them Do you mean skins for VB itself, or for your apps Either way, I don't think they exist. To do skinning, you need to write the code yourself. WPF will allow some skinning through XAML, which will be easier, but you'll still need to do it yourself. ...Show All
Visual Studio VSS 6 restore
Greetings all, I am new to VSS and am not sure how to restore a vss archive file. I have archived the vss file and moved it to another PC...I installed the same version of SourceSafe as the original PC, but can't seem to figure out how to restore the project. Suggestions would sure be appreciated. Thank you. Randude VSS n00b Are you using Source Control plug-in other then Source Safe To switch back to Source Safe try registering ssscc.dll from you SourceSafe install folder regsvr32.exe "C:\Program Files\Microsoft Visual SourceSafe\ssscc.DLL" It seems that your source control plug-in is in the disconnected state. To g ...Show All
Visual Studio Crosstab query error that uses a parameter
Currently using CR bundled with VS 2005. I'm trying to create a report off an access crosstab query that uses one parameter. In the field explorer for the report, when I select the query and it asks me to enter in a value for the parameter, I encounter the following error: 'Query Engine Error '07002 [ODBC MIcrosoft Access DRiver] Too Few Parameters. Expected l.' The query runs fine in access and it will also run in crystal reports if I hardcode a value for the parameter. Any help would be greatly appreciated. Joe ...Show All
Windows Forms Binding DataGridView to Junction (many-to-many) table.
Hi. How do I bind a DataGridView to a junction (many-to-many) table in a way that the DGV displays data from the lookup tables being joined by the junction table I have worked with the DGV column types such as DataGridViewComboBoxColumn but haven't been able to get them to work in this complicated scenario. I'd like the user to be able to select values (being displayed in DataGridViewComboBox columns) from the lookup tables and a new row is added to the junction table. I have an Author lookup table, a Title lookup table and a junction table called AuthorTitle. In the DGV I ...Show All
Smart Device Development WIFI SIGNAL DETECTION
Hi Can anyone tell me how to use the AccessPoint,AccessPointCollection and adapter to develop a wifi signal detection. there are so many things inside,which 1 should i download. is it inside got show how to code, or just show the properties ...Show All
Visual Studio Tools for Office Excel Data Binding Performance
I just updated my Excel VSTO code to use data binding (via ListObject) to a DataSet. Prior to this, I was putting data into a 2-dimensional array and setting it to a range. Now the screen update is significantly slower. We often times will have large DataSets. In one example, I had a DataSet with 10,000 rows, and 20 columns (with floating point data). With data binding, it took close to 1.5 minutes (90 seconds) for the screen to refresh. When I set the range directly with a 2-dimensional array, it took less than 5 seconds. While I fully expect it to take longer with data binding, I really didn't expect it to be that much worse. Am I force ...Show All
Visual Studio HELP HELP HELP Debugger doesn't parse through the file set with breakpoints
Someone has asked this before but i didn't see any replies to it. I'm running a local copy of a project that already exists on VSS under a different project name. I've changed the code in the local copy and need to debug it, however during debugging any breakpoints set in the local copy point back to the exact location in the VSS copy i.e. while debugging it opens up the VSS copy and sets the breakpoints there even though I see that it is running local copy in the browser. I've done rebuild proj, solution, start/stop IIS, reboot, deleted VSS copy breakpoints in the breakpoint window, deleted cache using VSTweak, so far no luck. PLEASE HELP ...Show All
SQL Server Error getting output.Buffer on synchronous custom transform
I am having difficulty with a custom transform that I am developing. Specifically, I believe that either I am missing something, or the documentation is not current. I am writing a custom synchronous transform that looks up additional values from a web service, and inserts the additional columns into the current row. The problem that I am specifically having is that even though the samples in BOL show that there is an output.Buffer value for the output columns on a synchronous output, I recieve the following error: //////////////////////////////////////////////////////////////////////////// // Cannot get a buffer type on a syn ...Show All
Visual Studio 2008 (Pre-release) Retrieving absolute position of a control
Hi, I would like to know is there anyway to retrieve the absolute coordinates of a control I know that position data can only be retrieved if controls are on a Canvas, but if you wish to retrieve coordinates from containers like a grid then you can use the VisualTreeHelper for controls embedded in a grid. The problem is this is extremely inefficient. The Popup control has an interesting property whereby you can specify a PlacementTarget. Now, somehow a Popup control knows exactly where to place itself based on that information. Does anyone know how the Popup achieve this Thank you, jaco ...Show All
Windows Forms Datagrid: Change background color of a single row
Hello, Let me first explain the situation: I have a datagrid with several rows (yes, i know, that's what a datagrid is for ). Now when i press a certain key (lets take F5 for example) i'd like to change the background color of the currently selected row. Now my problem is that i've found no solution how to change the background color of the selected row. But i'm sure here are several pros who can give me five lines of code as an example Oh, nearly forgot: it's a winforms application written in C#. Many thanks for your help ! Brummi We can do it with DataGrid by overriding DataGridTextBoxColumn's Pain ...Show All
Windows Forms Embeded WindowsMediaPlayer has bugs
Summary: The AxWMPLib. AxWindowsMediaPlayer object seems to have bugs and becomes unstable. Question: Is there a bug on the Active X wrapper that is generated by Visual Studio Do anyone know of a workaround Background: I am using an embedded Windows Media Player in a form. I got the player onto the from via the VS Designer. The instance of the player object is of type AxWMPLib. AxWindowsMediaPlayer m_player . When I set the URL property (e.g. m_player.URL = "c:\my_wav_file.wav" ) the player starts playing but then after a few seconds the progress bar of the player jumps back to the beginning and becomes grey (d ...Show All
Visual C++ sprintf depreciated... so what do we use?
Now I know that print formatting is available through stream operators, but how can this be used when printing to strings- i cant find anything in std::string (or am I missing something) and I presume there is no inherent method of using string << int etc. Any ideas Thanks Johan, here is my "problem" with string formatting: sprintf(sv, "as[0],as[1],naf,vr,burst=%.5lf,%.5lf,%d,%.5lf,%d\n", as[0], as[1], naf, vr, burst) ; I suggest you try this with stringstream, limit yourself to 80 characters per line and keep it readable. ...Show All
Windows Forms TabControl question...
just a thought ..but is there any to make individual tabpages use windows XP style icons [32bit with 8bit alpha] ..a couple of my developers are wanting to use the new style icons on a tab control and i don't really want to write a custom tabcontrol just to add support for the icons...any thoughts Yes, you are correct, this is& ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA and other compiler (gcc, etc...)
Hi, I find that XNA is a very interresting tools, powerful and offering a lot of possibilities for tool-chain management. My questions are: 1. What's all steps I have to take care in order to use another compiler (like gcc or other) with a .vcproj 2. Since vcbuild.exe seems to build C++ project-based, How to replace the cl.exe and the link.exe task to another compilers and linker task Thanks While you can use GCC by using the Exec task to execute command line commands, a .vcproj is made for Visual Studio so it can't be used directly with GCC. You can use other linkers and tools by configuring visua ...Show All
SQL Server Proxy Error
I a have small bunch of jobs which are scheduled to run under a proxy account. For some reason, each night a random handful of those jobs fail with the following error: Message Unable to start execution of step 1 (reason: Error authenticating proxy LSP\JobUser, system error: Logon failure: unknown user name or bad password.). The step failed. The jobs that fail are always random and if I manually run the job, EVERY one of them works fine. The only thing different from this collection of jobs (about a dozen of them) and other jobs I have on the system (which have never gotten this error) are that the new dozen are all started at the ...Show All
