JBG's Q&A profile
SQL Server Execute SQL Server Management Studio Solution
Hi All, Is there a way that I can execute a entire solution in SQL Server Management Studio I would like is to execute all the Queries in the Solution with one single click. Is this possible Greetings, Andre Barense ...Show All
SQL Server Framework 2.0 changes - TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.
If you connect to a server and open a query in SQL Managment studio (2005) and looses connection and then regain the connection, when you try to run the query it gives me a "TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host." This happens against both 2005 and 2000 servers. If I re-run the query it works. However, this happens in our VB.NET app as well for clients with Wireless conn ...Show All
SQL Server Transfer SQL Server Objects Task throws an error because the DropObjectsFirst property does not check whether object exists.
I wanted to create a package to copy the objects from one database to another and replace those object if they already exist. Therefore, before the package executes you do not know whether all the objects exist on the target server or only some of them. Using the 'Transfer SQL Server Objects Task' I have found that I cannot get this to execute cleanly by itself. If I set the 'DropObjectsFirst' to false then an error is thrown if the object ex ...Show All
Windows Forms What is "application framework"?
I tried creating a new Windows Forms app and had a hell of time just getting it to run. The trick was turning off something called "application framework". Can anyone explain what this is Or point me to some articles about&nb ...Show All
SQL Server sp_remove_document return code
Here is an example using the sample XML from SQL 2000 BOL. I was expecting @rtncd in print '3 After 1st sp_xml_removedocument' group to be 0, but it is 1. However, it appears that the first sp_xml_removedocument works, since the second one fails. But how to tell Thx Rlh .sql code /****************************************************************************** ** This example is taken from SQL 2000 BOL plus ...Show All
Windows Forms Add New row to DataTable doesn't refresh DataGridView control. Please Help!
Here's my scenario: I have a form that has a datagridview control. There's another grid on the same form that is a child view. I have one dataset, with two tablebindings and tableadapter objects. Everything loads great, I start it up, first grid loads with all the records and second grid refreshes as I click on the rows of the first grid. Now, I want to add a new record to my parent table. I made the main grid read-only because I don't wan ...Show All
Visual C# How To Register Web Part & How Deploy the Web Part To SharedPoint Portal Server 2003
hi I am Using VS.NET 2003 & Working On WebPart Library Project Problem to me is i am able to create web part using ASP.NET User Control and also .dwp file also i am able to update After you make the changes to trust the Web Part, My web.config file will look similar to the following code: <SafeControls> <SafeControl Assembly="System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken ...Show All
Visual Studio Express Editions Generating Specific random numbers
IN MSVB6 there is an inbuilt variable called "rnd" which I use to produce random numbers. But VB Express doesn't seem to have this. I don't what you use to produce random numbers . So basically I want to produce a random number between 2 values. For example I want to produce a random number between 4 and 20 which could be 15,9,6, etc... Any idea how this can be done in VB Express Thanks in advance Wow man thanks for the code sni ...Show All
Windows Forms Horizontal divider line in Combo Box
This would seem to be a simple task but I can't seem to find a way to do it except to implement some seriously complicated Windows MenuEx API stuff - All I want to do is insert a horizontal divider in a combo dropdown box, to give visual separation between groups of items. My purpose really is that the items in the box will be fluid, except for a certain set of items which are special items that will always be there. Using VB2005, .NET 2.0 ...Show All
Software Development for Windows Vista Security error hosting the WWF designer in a WinForm UserControl hosted in an ASP.NET page
We've taken Lab 12 Exercise 1 and applied the same steps to create a WinForm UserControl that hosts the WWF designer. We're now trying to host the WinForm User Control (with the embedded WWF Designer) in an ASP.NET page using <object> tags. We're current getting the following error. Does anyone know a quick&dirty way to get pass this System.Security.SecurityException: That assembly does not allow partially trusted ...Show All
.NET Development Prototype object calling c# code problem
The application that I am working on create new objects at run-time and attach behavior to these run-time objects by asssociating them with JScript. This application is being developed in C#. To be able to execute the method that are created at runtime (and implemented in JScript) I have wrapped the eval function in a JScript.NET dll. I send in the script I want to execute to this dll and it runs the eval method with the script as parameter. ...Show All
Visual Basic RTC Client API
Hi experts, Please help me in following code. i am not able to register my profile in SIP server. ============================ Private g_objRTCClient As RTCClient Private Sub Form_Load() Set g_objRTCClient = New RTCClient Call g_objRTCClient.Initialize ' ' Start the process by getting a profile. ' Dim pProv2 As IRTCClientProvisioning2 ' Receive the provisioning interface from the ' main client object. Set pProv2 = g_objR ...Show All
Visual Basic numeric calculations problems
Hi guys, I have a problem in working out some calculations within a form. My form is called, claddagh_database, which is linked to data from an access database using Jet 4.0 I have some fields with money values in, Total value inc VAt, Deposit, Stage Payment & Balance Payment. In access I had a field called Money Due, which was calculated using the expression Sum=([Total Value Inc Vat]-[Deposit]-[Stage Payment]-[Balance Payment] This t ...Show All
Windows Forms Need an HTML editor control
Did any one knows about html editor controls i heard about netrix and vzwig, both looks similar. Did any one tried them. Can you guide me which one should i buy.or there is any free on net thanks Shya i took it from <a href="http://www.handshakeit.com">handshakeit </a><br> its realy great, by usint it i hope i will bw able to save at least my one month of effort.<br ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Which language should I use?
I am pretty good at vb already and can do most things with it. I am wondering if it would be easier if I learned c# or even c++ for simple windowed games. I have (tried to) used visual c++ to create some projects like ones I have created in vb but it is much different and much more confusing (for now). Is it worth it to learn c++ or c# for simple windowed games Or should I just stick with vb Enjoy! Stick with what you know. VB.NET a ...Show All
