Terry G.'s Q&A profile
Visual Studio Express Editions Webbrowser Title Help needed
Hey i've been working hard on my browser lately and i've been testing it aswell as some other people and we've notcied that the title of the website dosen't show and over the past month i've tryed some things and been looking into stuff i was also wondering can you get the program's title with the website title for example halo2formbuddy Index - H2F-Browser Can anybody help me thanks. private void wb_DocumentTitleChanged( object sender, EventArgs e) { this .wb.Document.Title = "H2F-Browser - " + this .wb.Document.Title; } Dosen't work sadly thanks. ...Show All
Visual Basic RTS and DTR serial port control
Hi I'm back on VB after a long while. I'm having problem controlling the RTS and DTR signals of the serial port. I'm trying to use RTS (maybe DTR as an alternative) to control an RS485 comms data direction. I have set up 2 buttons as a test with the following code: Private Sub Functionkey4_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Functionkey4.Click SerialPort1.RtsEnable = True End Sub Private Sub Functionkey5_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Functionkey5.Click SerialPort1.RtsEnable = False End Sub the program gets to both routines when the buttons are clicked but the RTS pin does not change, the port is wor ...Show All
SQL Server Error downloading trial version !!!
Hi, I am not able to download the trial edition of sql server 2005. http://www.microsoft.com/downloads/details.aspx FamilyId=6931FA7F-C094-49A2-A050-2D07993566EC&displaylang=en From this page when I click continue to do the registration, it displays a page not found error !! Can you plz fix the link thanks atforum wrote: Hi, I am not able to download the trial edition of sql server 2005. http://www.microsoft.com/downloads/details.aspx FamilyId=6931FA7F-C094-49A2-A050-2D07993566EC&displaylang=en From this page when I click continue to do the registration, it displays a page not found error !! Can you plz fix the link thanks There seems to be some issues. ...Show All
Visual Studio Team System The maximum number of errors has been reached.
On building a database project i am getting 0 error, 200 warnings and 1 message. Message is - "The maximum number of errors has been reached. 41 total errors and 1231 total warnings were encountered." As a result i am not able to build the solution.Is there any way to ignore this message and go ahead with building and deploying the solution Or if there is any way to resolve the issue then please let me know. Thanks. shekhar saran wrote: I am getting a message on build saying "4 errors has been occurred."but it is not showing the text for those errors because i am not able to identify where the errors are occurring.... Where is the above text - in the "Outp ...Show All
Visual Studio 2008 (Pre-release) Any visual designer available for VS Express?
I'm using Visual C# 2005 Express Edition. I saw that Cider isn't available for the Express editions, so are there any other visual designer available for the Visual C# 2005 Express Edition To my knowledge there isn't a WPF Desinger available for the express editions. This is a temporary state of affairs. Cider will be available in the Orcas express editions mark ...Show All
Visual C# question about assembly loading
I'm dynamically loading an assembly at runtime and trying to use it but I'm running across something strange. Assembly A contains a common interface type Assembly B contains an executable that loads a type from Assembly C, and contains a reference to the common interface. Assembly C contains a type that inherits from a class that implements the common interface found in Assembly A. now. at runtime I load up the an assembly which is specified in the app config, and recursively walk its references until I've loaded every reference possible from Assembly C. In that walk I load all loadable assemblies, then get all the types in that assembly and cache that data. After recursively walking all the dependencies of th ...Show All
SQL Server How to use comma separated value list in the where clause?
How to use comma separated value list in the where clause I would like to do something like the following (Set voted = true for all rows in tblVoters where EmpID is in the comma separated value list). update tbl_Voters set voted = true where EmpID in @empIdsCsv Where, @empIdsCsv = ’12,23,345,’ (IDs of the employees) Since the above is not possible I have done the following dynamic query: -- Convert the comma separated values to conditional statement like EmpID = {id} or EmpliD = {id}… set @empIdsCsv = 'EmpID=' + substring ( @empIdsCsv , 0 , len ( @empIdsCsv )) -- Remove trailing comma set @empIdsCsv = replace ( @empIdsCsv , ',' , ' or EmpID= ...Show All
Visual C# Escape Sequence Character Doubles (\ ends up as \\)
Hi, When attempting to pass a file name and path to a textbox to use as a URL the following code: string strURL = @"e:\jb.pdf" ; Always sets strURL to e:\\jb.pdf Using the @ symbol is supposed to force the compiler to ignore any escape characters. Any ideas TIA J You are absolutely correct! Thanks for your post. It made me go back and take another look. When I examined the string it does show both \\ characters but that was not my problem. The next line assigns the string value to a textbox that is an item on a toolstrip. When I referenced the textbox I forgot about the zero-based reference and I was actually getting an out of range error because I was at ...Show All
SQL Server Failover not work when Principal server is down
Hi, Here is my testing environment: Database server: SQL Server 2005 Developer Edition with SP1 Application: An application developed by Visual Studio 2005 using C# (.Net framework 2.0) and ADO .Net 2.0. Principal server: computerA Mirror server: computerB Witness server: computerC Mirroring mode: High availability with auto failover Connection String: Data Source=computerA;Failover Partner=computerB; Initial Catalog=test_mirroring;Persist Security Info=True;User ID=sa; Code used for failover: while (true) { thisDataSet = new DataSet (); try { thisConnection = new SqlConnection (connectionString); thisAdapter = new ...Show All
Windows Forms Creative inspiration
Hi Guys, I want to build a scrollable information-rich GUI list, rather like the list of emails in MS office. That is, a list of boxes, with each box containing a couple of lines including title (maybe in bold), some information, some numbers and maybe a couple of icons. What do you think is be best way to construct this I'm guessing many of you will say datagridview or some sort of custom control. These would be fine, but any help in terms of exactly how to do this would be really appreciated. Two things to think about: 1) I'm not an expert programmer, eg. I'm not completely sure how to do complicated inheritance. 2) I only have VC++ Express - can you create custom controls with this If so, how Any help appreciated - any good ...Show All
.NET Development What to do if, transfering data reaches up to 100 MB.
Hi everyone, We have data reaching upto 100 MB.We are sending data in the form of byte[]. Is there any problems ,if we use webservice for datatransfer.Both the server and client are done in .Net. (visual studio 2003 and .Net 1.1) and we need not publish the webservice. Communication is done through VPN. Which technology should we use in this case,for data transfer.Remoting might not be useful in a scenario, where data reaches up to 100 MB.Can we consider socket programming or should we stick to webservices alone. Any help would be appreciated. Thanks Abhi When this 100MB of data is serialized it will be encoded as a base64 string. This can cause severe scaling issues if i ...Show All
.NET Development I need help in connecting client Java (socket) to server VB.NET (winsocks)!!
Hi guys, i wrote 1 client in Java and 1 server in VB.net. However; i met a problem that i couldnt send data between them. Can u guys help me plz! if can give me some sample code is the best!! (i can open port in server side to wait for client ! And my client also can connect to the server well! But i couldnt send anything from Java client to my VB server. I tried to use: write (string.getBytes()); writeBytes(string);Printwriter(string); from java!!! in server i read bytes.) ...Show All
Visual Studio Express Editions prank program on my friend :)
im making a program to pull a joke on my friend and i need a little help. the program's background is a picture of him and whenbuttons are clicked labels appear that say a 'smart' remark and other buttons appear. i am making it so that he has to enter a specific number in a textbox in order for the program's exit button to appear. if anyone can help to lead me in the right direction i would be incredibly grateful. thanks in advance problem: 1.) how to disable the ability for the program to be moved around on the screen. 2.) how to disable shortcuts such as Alt+F4 and double-clicking on the controlmenu .to minimize the mainform when it is maximized. 3.) how to disable Ctrl+Alt+Delete, or at least to change it to an inactive window when open ...Show All
Visual C++ Read text file to variable, write this variable to another file
Hello, I am new to Visual Studio and c++. I am using native., rather than managed c++ (I think and hope). I am able to read data from a file, but when I then try to turn around and write the string variable into a text file, the written-to file appears to be empty. Here is an excerpt of what I'm doing: std::ifstream fileInput; fileInput.open("SymbolList.txt",ios::in); std::ofstream fileOutput2; fileOutput2.open("SymbolsOut.txt",ios::out); std::getline(fileInput,line); std::cout << line << "\n"; start = &line[0]; j = strcspn (start,str2); std::cout << "j = "<< j << "\n"; length = line.copy(buffer,j,0); buffer[length]='\0'; std::cout << "buffer ...Show All
Windows Forms Weird about box problem
I created an about box using the AboutBox form template. The only thing I changed was the default name of the form, and the text in each of the labels and the textbox. Then I added the "About" menu option and inserted the following two lines to display the aboutbox: Form awform = new CardWeave. AboutWeave (); awform.ShowDialog( this ); For some reason it displays the default aboutbox without any of my modifications. Any ideas on what is causing this problem Thanks! Dan Have you touched any code in the about box The code, included there, fills the label texts with executing assembly meta data (product name, description, copyright, version, ...) Andrej ...Show All
