bdyson's Q&A profile
Visual C++ Visual C++/CLI
Hi all.Is it fine if i use visual C# .net tutorials and resources for creating windows forms apps and incorparate the code into C++/CLI .net I mean, C++/CLI uses the .NET Framework also to create windows forms apps right So the only thing to change is the syntax(the "." to "::" or "->", variable declarations, conditional statements, classes etc etc) if i am correct here. Meaning whatever ever code in C# has been ...Show All
Windows Forms How to get modified rows from a datagrid , when the changes are made on the editable datagrid itself
I have a datagrid bound to a datatable , which has customized table style. I display the editable datagrid. I modify some rows ( say row 1, 5 and 6 ) on the datagrid from the interface. Now I would like to get this set of m ...Show All
Visual C++ Lost all visual style on UI controls after importing to VS2005
Hi, all I had an old project created in VS.net 2002, (native code, c++), it builds/runs fine. After I imported it to VS 2005 B2, it lost all visual style on the UI controls, as if it were running on Win2k.. Is there a setting somewhere I can change to bring by the visual style Thx Ted -- this worked great for me! Thanks a million! I had a 2003 application that I ported to VStudio 2005 and I couldn't get the ne ...Show All
.NET Development Any string function to do this...
Hi, I want to know if the framework has a built in function to do this: Dim strText as String = "This is an example test text, more text here and another is keyword" I want to retrieve everything between "is" and "text" something like: result = x.find("is","text",strText) result is equal to "an example test" Thanks! Diego i don't think that .NET Framework have provide any a function to do it. However, it ...Show All
.NET Development MS NET FRAMEWORK 1.1
Hi there, I know this is going to sound so stupid to you whizz kids. And it probably is stupid. But i am totally desperate to find out why i cant install the above subject matter. Your help and advice is desperately needed as i havent a clue what i am doing wrong I cant install ms net framework, it keeps on coming up: EXTRACTION FILE FAILED: IT IS MOST LIKELY CAUSED BY LOW MEMORY(LOW DISK SPACE FOR SWAPPING FILE) OR A CORRUPTED CABINET FILE. I h ...Show All
Smart Device Development Emulator Problem
hi, I used vs2005, vss2005 & CHS Windows Mobile 5.0 PPC Emulator to develop application. I pressed F5 to run the application in the CHS PPC emulator. But after several minutes there didn't have any response in the emulaor, which hadn't happened before. So I checked the modified files in and closed the emulator. Later I closed the vs2005 and rebooted the computer. But this time, my emulator didn't response to my mouse click, but keyboard w ...Show All
Visual C# How can I cover the menu item's shortcut?
Supposed I have a form with KeyPreview=true and a menu item whose shortcut is CTRL+C. Add a Textbox on the form. When I select some text in the Textbox and press CTRL+C, the selected text just can not be copied because system just call the menu item's OnClick event handler. And then how can I copy the selected text via CTRL+C, that is to say, how can I cover the menu item's shortcut Onclick event handler in some particular situations Your& ...Show All
.NET Development Garbage Collector
Correct me if i'm wrong, guys. From what i know, there is managed objects and unmanaged objects. unmanaged objects is objects that have database connection, file access, etc. for unmanaged objects, we'll decide when we'll free it from memory. GC can't decide that. but for managed objects, the GC can decide when to free it from memory. suppose i have a function like one below : public void xyz() { Employee objEmp = new Employee(); objEmp. ...Show All
Windows Forms Clipboard Screenshots
Hello, I'm looking to use the clipboard in my application. I see it can load images and text, and I was curious if it can load the currently present screen. Essentially, what I want to do is if I copy a control like the datagrid, do a screenshot. Is that feasible/possible Thanks. I tried this: Private Sub MainForm_KeyUp( ByVal sender As Object , ByVal e As System.Windows.Forms.KeyEventAr ...Show All
.NET Development memory leak in window.open() method
if we use JScript "window" object to open a new page it causes a memory leak. steps to produce: create a button in a simple html page. on the click event of that button write the following code. window.open(" http://www.microsoft.com ") before clicking the button note down the memory status of "IExplorer.exe" click that button and surf the opened page. u will see that memory of "IExplorer.exe" will be increased. after s ...Show All
SQL Server Failed to generate a user instance of SQL Server
Hello all, I unisntall products as it are recommended (VS 2005 and SQL Server 2005 beta 2) in readme.txt of MSDN products subscription... I install VS 2005 Pro and I have no problem during install. Now, if I want to open database, I have this error mesage : "Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection will be closed." In MBSA report, I see that the folders of SQL ...Show All
Windows Forms Configure Client & Server to run Windows Form Application
Hi All, I have developed a Windows Forms application in VS .Net. It utilizes SQL Server Database to manipulate data. I have tested this application on my laptop having Windows XP Professional. Now I want to create a scenario to test the application& ...Show All
.NET Development Load-blancer (f5/big-ip), remoting and sockets
Hi all, I'm dealing the following problem: I have a client application, a load balancer(f5/big-ip) and some identical server applications. The client is connected to the server/s via load balancer, using remoting. I'm disconnecting one of my server application from the remoting infrastructure (using RemotingServices.Disconnect, and ChannelServices.UnregisterChannel). However, the relevant sockets to the just-unregistered application remain ...Show All
Windows Forms Datagridview DatagridviewColumnComboBox
I have spent a lot of time trying to figure out how to display a default value in the datagridviewcolumncombobox and I am convinced this can not be done. I have posted many questions regarding this and no replies. A combo box, regardless if in a grid or not, should never be this complicated. What am I doing wrong Dim cbCol As New DataGridViewComboBoxColumn cbCol.DataSource = ds1.Tables(0) cbCol.DisplayMember = "Dist ...Show All
Visual Studio any complete examples of creating new custom C# projects
Does anyone have a full example of a Visual Studio 2003 custom C# project which demonstrates 1. it appearing in the New Project dialog, in its own folder (I know this means adding an entry to TemplateDirs). 2. it having custom C# files which I can add using Add New Item 3. it having its own icons - so I'll need to know how to create a resource file. I'm not trying to extend VS, just create my new template projects. Its a lot to ask- does anyone ...Show All
