gon2024's Q&A profile
Visual Studio Express Editions Wish for future VS versions: Maximize window
Hi. It will be veri nice if the windows inside de workbench could be "maximized" with some button as eclipse (www.eclipse.org) does. Regards. Thank you. I expect to see some kind of visual clue in the window.} Such mode is what I want but may a button could be added to the window to do this. Regards. ...Show All
SQL Server Log Reader Agent Failure
HELP>>> I am getting desperate we recently had a failure which ended up wrecking my replication. The basic layout is from a source server -> Distribution Server then out to several other servers. Long story short the distribution database had to be moved to a new drive and I am now getting the following error message The specified LSN (0003d4f0:0000721e:001b) for repldone log scan occurs before the current start of replication in the log (0003d63a:00002803:0001). (Source: fsdpdcis (Data source); Error number: 18768) ---------------------------------------------------------------------------------------------------------- ...Show All
Windows Live Developer Forums Contact List Disappeared in Live Messenger
Dear Scott Swanson, My name is Gary Wong. I am an Applications Software Analyst at Brigham Young University Hawaii. Today after I unstalled the Office 2007 (Beta), all my contacts in the Live Messenger were gone. Then I tried to reinstall the Live Messenger, the problem still persisted. I also tried to rollback to Messenger 7.5 version, then all my contacts were there. I suspect there was a problem about the synchronization of contact from 7.5 messenger server to Live messenger server. Do you have any idea how I can bring all the contacts back to the Live messenger Please advice. Gary Wong ...Show All
Visual C++ general question regarding arrays and functions
Writing another program for school and I've got something seriously screwed with this one. I may have to post code for this, but I have my main function that calls another function(switcher), I'm trying to pass two arrays to this function and have that function switch the lowest value in one array replace it with the lowest value in the second array and vice versa. The problem is when I compile the program, it builds with no errors or warnings, runs up to the point where I call the function(switcher) then has some type of serious error at runtime and closes that window, and allows me to send an error report to microsoft. Any ideas what I'm d ...Show All
Visual C# HOW TO CONVERT STRING to INT without using any inbuilt functions..??
Hi all, How to Convert my String str=10 into int s=10; without using any inbuilt libraries like parse or convert to int etc . I had this question in interview...but i tried something in binary level but not accepted.pls clarify how internally data conversion takes place... thanks. Maheshkumar.R www.snipurl.com/guac well, i never had an interview like this, but I guess they want to see you doing it manually ;) somehow like this: string sx = "10"; int ix = 0; for (int i=0; i<sx.Length; i++) { ix *= 10; ix += sx[ i ]-48; } ...Show All
.NET Development I need to create an instance of an unmanaged c++ class from a c# app
My unmanaged class is exposed by a win32 DLL, and it's constructor takes a pointer to another unmanaged class exposed by the same DLL. I created a C++ project compiled with the /clr option, so that it could be referenced by my c# project. In this DLL, i created a public ref class for each of the unmanaged classes in question. (wrapper classes with a private embedded instance of the unmanaged class). My question is this: From C#, how do i instantiate my c++ wrapper class that needs a pointer to the other unmanaged class in its constructor I dont have access to the unmanaged class from C#, so i cant pass a pointer to it. Besides, point ...Show All
Visual Studio Team System How to put the code in a team project?
Hello. I created a team foundation proyect. I see many things there, work items, documents, reports, build. but I dont see the code. I created a website , how can I associate the website proyect to the team foundation proyect Why I cant create bugs it doesnt let me write on the title field. Hi Kevin, You will need to install a source control system. E.g. you can install Visual SourceSafe ( http://msdn.microsoft.com/vstudio/previous/ssafe/ ), try out the exciting new Team Foundation Server product which is in its Beta3 ( http://msdn.microsoft.com/vstudio/teamsystem/team/ ), or install other source control ...Show All
Windows Forms How do I.. validate a bound datagrid aborting the exit from the cell if it's wrong?
Hi. I'm attempting to validate some data in a databound datagrid. The Datatable has only one column (string type, not nullable, default value ="") I'm currently using this code Sub Form_Load() AddHandler dtbOne.ColumnChanging, AddressOf CheckDtb End Sub Private Sub CheckDtb( ByVal sender As Object , ByVal e As System.Data.DataColumnChangeEventArgs) 'If empty then delete the row If CStr(e.ProposedValue).Trim = "" Then e.Row.Delete() Exit Sub End If 'Remove trailing spaces   ...Show All
Windows Forms replacing char during digit on datagridview
Hi all :) Here is my problem: private void dataGridView1_EditingControlShowing( object sender, DataGridViewEditingControlShowingEventArgs e) { dataGridView1.EditingControl.KeyPress += new KeyPressEventHandler(EditingControl_KeyPress); } void EditingControl_KeyPress(Object o, KeyPressEventArgs e) { &n ...Show All
.NET Development why is Update() so Slooooow
I found one fatal problem which I would like an explanation; in the old days (2 weeks ago) I used an access DB and I would open the access program and a macro would simply read from a text file and load 3 tables and stop. Once I got out of the Microsoft access program the 3 tables in access would have the new data, I say it took about 35 seconds to do. Now I switch over and created an SQL DB and my new program in VS 2005 reads from the same 3 text files and writes each row into the virtual tables waiting for the update to take place, now like I said 3 tables 2 small with 20 or 30 columns and the 3rd with 190 columns and 15000 records, s ...Show All
Visual Studio 2008 (Pre-release) Callback question
Hi, Does wsDualHttpBinding for callback force client to open a port ...but If I have a proxy server Do I need to create a NAT for this port ...very hard for my customer... If I use netTcpBinding for callback does callbacks use the same connection for callback and not above approach I want to use callback with http channel but Its will fail if my customer has a proxy server. Does anybody know a solution for this Thanks, Alexnaldo Santos You can have all your endpoint share the same port, since the address name will be different. http://127.0.0.1/Endpoint1:8000 http://127.0.0.1/Endpoint ...Show All
Smart Device Development Windows mobile 5.0
How can I obtain a trial version of Windows mobile 5.0 ...Show All
Visual Basic reading ascii text file
Hello, i'm trying to read a ascii text file using the streamreader. For simplicity, let's say my .txt file contains the following data: a b c d e f g How would i read from, let's say the first occurence of character "c" to "f" It would read 3 lines after "c", up to "f", and give me: c d e f I understand how to read the entire file, but i do not know how to read it from a specific line, and 3 lines after that. I would appreciate your help please! Try reading line by line instead of whole text as one, then parse each line to say something like -- pass the header whe ...Show All
Windows Forms Importing ActiveX Controls into .NET
I am experiencing a problem when adding ActiveX controls onto a form in .NET when the account I am logged into on XP does not have full administrator rights. I can successfully add the control to the Toolbox, however when I try and create a control, eg the Microsoft Rich Text Control 6.0, on the form the references are successfully created and then I get the following error: "One or more of the types in the assembly unable to load" If I load a project that already has the controls on them, created previously using an Admin account, then when the form is displayed in the IDE, the following errors are displayed in the Task List ...Show All
Windows Live Developer Forums Default emotions and Custom emotions
Hi Guys: Is it possible to add a default emotion in MSN programming, say, drag a "My emotion" to "Default emotion" ...Show All
