safewithyou247's Q&A profile
Visual Basic HELP WITH STATUS LABEL!!!!!
I have created a web browser in VB 2005 that i need help with. When the Browser is loading, i made it have a progress bar and it says "loading" and when it has done loading, it says done, and the progress bar goes away. This was my code that worked: Private Sub WebBrowser1_Navigating( ByVal sender As Object , ByVal e As System.Windows.Forms.WebBrowserNavigatingEventArgs) Handles WebBrowser1.Navigating ToolStripProgre ...Show All
SQL Server Specified SQL Server not found for connection to SQL Server 2005
We have an application server running Windows Server 2000 with Sp4. When we use the ODBC data sources connection software, it shows the SQL Server 2000 servers in the drop down box, but none of the new 2005 servers. If we enter the 2005 server name and try to connect, we get the 'Specified SQL Server not found' error message. The connection works fine from a newer Windows XP box and remote connections is enabled. My guess is that we need a new O ...Show All
SQL Server Doing away with like '%%'
Here's the setup @searchcondition varchar(50) --is a parameter passed into a stored procedure IF(@searchconditions is null) BEGIN SET @searchcondition = '%' END ELSE BEGIN SET @searchcondtion = '%' + @searchcondition + '%' END select * from sometable where somecolumn like @searchcondition Now the procedure is fine if the user passes a string, but if it's null, it seems really inefficient to search for '%'. ...Show All
Visual Basic SetTcpEntry
Hi guys, i need Append option for "kill connection" http://www.freevbcode.com/ShowCode.Asp ID=5067 I Not can implement Function : SetTcpEntry This old code in VB6 use that. http://www.vbip.com/iphelper/get_tcp_table.asp Any idea for implement in VB.Net I looking in .Net Framework 2.0 Class Networking Information, any know for new Code I'm pretty close to getting this working. All I need to get past now is the error 87 - inva ...Show All
Smart Device Development CF2.0 'Click-Once' Support
Hi, A lot has been written about 'Click-Once'. Does this technology apply to the compact framework and mobile devices If not what is the recommended way to install a CF2.0 application on a mobile device and keep the device updated with updates/patches Thanks in advance. Craig No, ClickOnce does not apply to CF and SDP. An article on netcf 1.0 may be useful to you: http://msdn.microsoft.com/libr ...Show All
Windows Forms Copy Control to clip board
Hello all. I'm trying to save a DataGridView (or any other control for that matter) to the ClipBoard or to an external file (any format). I found the methods: grid.CreateGraphics and grid.DisplayRectangle to get the Graphics object and the display portion fo ...Show All
Visual Basic Creating a menu when my application is executing !!!
Hello, I need to create a menu, when my application is executing and this menu must take the name of the options from a table SQLSERVER2005. Can anyone help me Thanks Just modify this as needed: Private Sub Form1_Load( ByVal sender As System. Object , ByVal e As System.EventArgs) Handles MyBase .Load Dim dynamicMenu As New MenuStrip &nbs ...Show All
.NET Development Return as String size limitation?
All, Does anyone know of a size limitation when returning a string from a web service We are returning a string of XML from our data layer and it appears to get cut off at a certain size. Thanks I am executing a SQL query with the 'For XML Auto' statement. I use 'ExecuteXMLReader' into a datareader. The XML is cut off at this point. Seems to be always in the same place. So is it a limitation of the data reader ...Show All
Visual C++ Newbie DLL question
I have written a C# class and compiled it as a DLL. I am now trying to use some of the methods in a Visual C++ project (not .Net). Is this possible Thanks for your reply. I've generated a tlb file, and added #import "SimpleDll.tlb" to the top of my C++ program, and it compiles fine but I'm not sure how to instantiate and use the object. Just wondered if anyone had any links to tutor ...Show All
Windows Forms I need some help with The class Matrix()
Maybe it is a simple problem but I see no solution. Default matrix: [ 1 0 0 ] / [ 0 1 0 ] / [ 0 0 1 ] When I use First and only "Graphics grfx" as grfx.ScaleTransform(2, 2); The new Matrix is th ...Show All
Visual Studio Express Editions Chinese Editions can't get activation codes!!!!
the website has something wrong, pls correct it!!!! urgent!! thanks!!! I'm sorry - which site are you referring to In order to obtain your activation code for your product, from within the product, go to Help -> Activate and then choose the Register link. After you register, you will receive your activation code. ...Show All
.NET Development How to pass an XML document
In the past I've used Web Services internally and I've always passed objects. But how do I pass an XML document to a third party We've agreed on a schema, but I'm not sure how to represent the XML document in the method interface. Although a string would work, I'd prefer to take the best approach. Thanks, Jake Hi Jake, The trick is to send and receive 'Bare' see below [1],[2],[3],[4],[5] ...Show All
.NET Development C# SerialPort Read termination issue.
The new SerialPort class is fantastic and works great. However, I'm now in a situation where I need ReadLine() to return when a 0xC1 is recieved in the port, as all of the incoming messages begin with a 0xC0 and end with a 0xC1. Trouble is, the NewLine property only takes (unicode) strings, making this seemingly impossible. I cannot read one byte at a time (WAY too slow). Please help Oh Gurus! :-) The problem isn't that SerialPo ...Show All
SQL Server Help,Does embedded code supports DCOM?
Reportings services does support embedded VB Code and custom assembly;Can I use a custom assembly or embeded code to call into a DCOM or retrieve data from any DCOM ...Show All
SQL Server Row Count - Variable Name is Case sensitive
I defined a variable called "NoOfRecords" for a Data Flow Task and within the Data Flow Task I am outputting records from Flat File to RowCount before doing anything else. I typed Variable name as "NoofRecords" in Advanced Editor for Row Count and it didnt like it. It gave the following error. Error at Load Customers[Row Count [138]]: The variable "NoofRecords" specified by VariableName property is not a valid variable. Need a valid variabl ...Show All
