nhlpens66's Q&A profile
Visual C# List all SQL Server Database engine in an intranet?
hi every body I need a help here. I want to list all SQL Server/MSDE Database engine that running on every computer in my company's intranet. I have found out some example that send message to the default port of msde and waiting for reply, but if does work when that computer turn on it firewall. My need is likely the functional of : MS SQL ServerManagement Studio/object Explorer/connect/Database engine/browse in network Server. thanks and regard I have write a simple SqlLocator class: public class SqlLocator { [DllImport( "odbc32.dll" )] private static extern sho ...Show All
Visual Studio Express Editions Why? My post dissapeared.....
Hi, I posted a question about 9:00-10:00 UTC, but it is disapared... I'm just curious, what happaned Did I do something wrong Is there any extra rule, what I have to fulfill I know, probably this isn't the best place to ask questions like this, but as my post was here so I ask here. My post seems to be removed for some reason.... Thanks in advance, Lacko I believe this is the thread you posted before. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=345984&SiteID=1 Thanks, Ayman Shoukry VC++ Team ...Show All
Visual Studio Express Editions How To Call Control pannel items
hi, how to call control pannel application from program Dear Shibu, Use this code to open mouse setting from your vb.net application... Imports System.Diagnostics Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click 'to start mouse settings Dim p As New Process p = Process.Start( "rundll32.exe" , "shell32.dll,Control_RunDLL main.cpl @0" ) End Sub End Class ...Show All
Visual Basic Windows Application Resides on a single machine.
Is it possible that the application is installed on a single machine and the clients has a shortcut of that application so that if there is an changes to the application the update will be installed only on that machine. I suggest to use ClickOnce , you must put some files on a server, the others machines connect to it to get updates... ClickOnce Deployment ClickOnce FAQ ...Show All
Visual Basic Exec Long Queries
Is there a way to exec a query and let it run on the server and only check for the status of the query I have a query that will backup a database and it takes over 4 min to run and my vb.net apps says it times out. We can not put it into a sql job, because part of the payroll process requires a manually backup the database. Okay, I figured out what to do. Using the SMO object as braverwon suggested in this thread http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=475897&SiteID=1 I went to microsoft and found this article http://msdn2.microsoft.com/en-us/library/ms162166.aspx and well the r ...Show All
Visual Studio Team System Manual Test Authoring through Microsoft Office Infopath 2003
If I wanted to use a Microsoft Office Infopath form instead of a Word or Excel document to author my manual test cases, what would be the best way to implement that I'm assuming that I would probably have to create a custom test type of some kind. Should I try to launch Infopath as an editor or something when the test is edited, or would it be easier to use the object model since there is already support for creating tests in Word and Excel formats Just looking for opinions at this point. Rob Ok, well let's try something simpler then. Does anyone have any example of using InvokeEditor in a custom test ...Show All
Windows Forms Creating Custom Dialogs
Hi, I try to create a custom dialog in VS2005(C++), but the result is, that the dialog’s behaviour is like a "normal" control. It should behave like all the standard dialogs, which means, that you can place the control at design time on the "component tray" like i.e. the printDialog. Searching around, I found, that I have to set: TopLevel to false, and the FormBorderStyle to none/FixedDialog. But this is not working for me. What’s going wrong Best regards, Carl I believe you will need to derive from CommonDialog for this kind of functionality. (if only my machine wasn't broken I could create some sampl ...Show All
SQL Server bug when running sp at package
Dear all i have a stored procedure which run in package. I find out that the stored procedure stop at the running after 1 seconds, but the pacakage reports the success. this stored procedure can run at query analyzer normally. I tried to adjust the command time-out at the execute sql task properties object to 9999 or 0 or 1800. However, I find out it is useless to extend the executive time. The case happens in two sql server 2000 which is installed in win 2k server and nt server 5.0. So, I guess it is a sql server bug. Please give me some suggestion. whether a sql server has this bug how can i fix it thx a ...Show All
Smart Device Development Mobile 2003 Network Print Job Notification
From a Windows Mobile 2003 client I am printing on a shared Generic-Text only printer on a Windows 2003 Server. To print I create a text file in the shared queue using the network functions ::WNetAddConnection3 ::CreateFile ::WriteFile and after the ::CloseHandle call the print job is submitted and I receive a 'Print job Notification' Anyone knows how disable or suppress that message I already disabled all notifications on the spooler service on the 2003 server. Thanks! The print job notification message comes directly from netui.dll. We do not provide a way to supress those messages. ...Show All
SQL Server SQL Server Express will not install -- Existing Components- Cannot Resolve - Help
Hello, I installed VB2005 recently and today I attempted to install SQL Server Express. Installation failed saying that Existing Components Existed. Message was: Existing Components SQL Server DB Series 9.00.1399.06 I believe that is SQL Native Client. It could also be from SQL Books Online. I have Add/Removed the SQL Express Components repeatedly and retried with the same results. I'm not sure if there is a Registry Entry that needs to be removed or other issue. I sure would love some assistance in getting this resolved. Thanks Paulz Can you look at th ...Show All
Windows Forms InvalidOperationException with DataGridView bound to object data source
I am getting an InvalidOperationException with the message "Operation is not valid due to the current state of the object." when using the DataGridView and an object data source in 2.0. After going crazy trying to find the source in a larger application I created a very simple app to see if I could reproduce the error and found that even a simple example application causes it. Here are the steps that reproduce it: 1) Create a new project with a single form with only a DataGridView in it. 2) Create a simple object with two properties. For example: public class Widget { private string _name; private int _quantity; public Wid ...Show All
SQL Server FireEvent issues with Reporting Services
I am attempting to use the following command line (and associated script) to trigger an existing subscription within Reporting Services (2000): command line: rs.exe -i MyScriptFile.rss -s "MyReportServer/ReportServer" The input scriptfile (MyScriptFile) contains the lines below where the scheduleID is taken from Reporting Services from an existing 'once only' schedule. The schedule, - when triggered - should fire off a subscription and email recipients with a particular existing report. Sub Main Dim rs As New ReportingService() rs.C ...Show All
Windows Forms Does the new terrarium work for anyone?
Just thought I'd ask Is anyone ELSE feeling a little stupid for installing the new version before ANYONE reported it worked ...Show All
SQL Server increasing maximum of tables to greater than 256 ?
Hi, I am submitting a query to SQL server and I'm hitting an error--> Too many table names in the query. The maximum allowable is 256. I CAN find a work around by breaking things up, but, isn't there a way to increase this limit of 256 tables Seems kind of a lowball cieling for SQL Server. How about re-writing your query so that it doesn't do the same join a hundred times You can blame the SQL Server engine for not supporting such poorly written queries, but in the end even if it did, what you propose wouldn't perform very well. You can re-w ...Show All
Visual Basic 2 Internet Connection
Hi, I want to use 2 Internet connection each with diffrent IP with 2 wisock control for for each connection. the problem the newer connection is the active forever and i cannot send data through the older one. can any one help me. Food for thought for the original poster. In service to the community, we've posted suggestions at the top of the forums on how to get an optimal response to your question and how to assist us in helping you. We encourage all of the community members to read these suggestions because they help everyone. Thanks !!!! :) ...Show All
