DCMonkey's Q&A profile
Visual Basic CheckBox Service control (VB, VS 05)
I decided to try and expand my project, I now wish to have the (current, I'm adding more as I find out which aren't required ) two processes here's a brief on what stage the additions are at. I have added 4 check boxes named; SpoolCheck1 SpoolCheck2 MDMCheck1 MDMCheck2 (more will be added as I find out more that can be stopped) and two command buttons named; StopCheckedButton StartCheckedButton I would like to 'link' the check boxes to the command buttons, but the checkboxes job (when checked, then clicking the start/stop command buttons) is to start/stop the selected program/process, in this case spool and mdm. I have these codes for starting and stopping the processes and return a message if there is a problem. ...Show All
.NET Development Using two sockets for Read and Write methods does make difference or is it necessary?
Hi all again, I will use asynchronous Read and Write methods of the Socket or NetworkStream classes. I wonder usingi two dedicated sockets for only reading and writing operation will make difference, or is iti necessary Can one socket handle both read and write operations "I wonder usingi two dedicated sockets for only reading and writing operation will make difference, or is iti necessary Can one socket handle both read and write operations " You don't need two (2) Socket or NetworkStream for read and write but you can do it only with one object. Best Regards, Rizwan ...Show All
Visual C# Problems with calling constructors with delegates from inside constructors
Hello all, I'm having trouble calling a polymorphed contructor with a delegate parametre from within another constructor for the same class. The code can be found at http://pastehere.com/ yrtdvt and the problem is on line 49. I get the following error when trying to compile: An object reference is required for the nonstatic field, method, or property 'NetworkAdapter.NetworkAdapter.DefaultClientReceiver(string)' I also noticed that when I compile http://pastehere.com/ qvlhvt I get an error on line 50: 'NetworkAdapter.NetworkAdapter' is a 'type' but is used like a 'variable' What am I doing wrong Any help would be appreciated! Thanks! The first code snippet you posted is ...Show All
.NET Development problem in client/server application
Hi every one, I developed a client/server application . client connect to server correctly if both are under the same router (in the same Lan) , but the problem arised when the client and the server arenot in the same Lan they cant connect together. I checked the router configration ,it was correctly setup. please if you have expirense in this problem help me. Thanks for reading my message------------ Indian Ocean wrote: Hi, You must have used "RounterIP" as ip as i have suggested, right ! Give this a try, i think this will work for sure, IPAddress ip = IPAddress.Parse("YourServerIP"); //Here its your local server IP (NOT ROUTER IP ...Show All
Visual Studio Crystal Report Printing Extra Blank page
Hey Guys Yet another Crystal Reports Problem I got this application that creates and prints out Policies The problem is that on one users machine the Report Prints out 10 Pages with the extra Page being a blank page in the middle of no where.... it should normally print out 9 pages. There is only one version of Crystal Reports being used. They all using the same Report. I export the report to PDF automatically. so when it opens it has the 10 pages in there already. Dont know what it is. it seems that its only on this machine that is prints out 10 pages. Every other machine prints out 9. its a new machine so i only have what it needs installed. Please Help. I had the same problem before. Sometimes th ...Show All
SQL Server How to build a Custom Delivery Protocol of SMS
Appreciate for any comment about how to build a custom delivery protocol of SMS (short message service). I am working on a Notification Service project but I have no idea how to write a custom delivery protocol for SMS user. thank you, Hi Nemo - Some links that may help... http://groups.google.com/group/microsoft.public.sqlserver.notificationsvcs/browse_thread/thread/669d84f2ff70e872/cbca58445c41735e q=sms+&rnum=2#cbca58445c41735e http://groups.google.com/group/microsoft.public.sqlserver.notificationsvcs/browse_thread/thread/6efc2f9083a1e848/1901ade55f731a4e q=sms+&rnum=7#1901ade55f731a4e http://groups.google.com/group/microsoft.public.sqlserver.notificationsvcs/browse_threa ...Show All
Smart Device Development How can I deploy latest service pack along with my application cab file
I am getting following error this apliaction (Mytestapp.exe ) requires newer version of the microsoft .net compact framework than the version installed on this device How Can I deploy latest service pack along with my application cab file. I am using smart device cab application projectI am getting following error this apliaction (Mytestapp.exe ) requires newer version of the microsoft .net compact framework than the version installed on this device How Can I deploy latest service pack along with my application cab file. I got Framework 2.0 installed from MS, but there are still some "magic files" required that MS did not include with .Net CF 2.0 Cab files. If you run Visual Studeo 8.0 and allow it to copy its "versio ...Show All
Visual Studio Team System Cannot insert a work item list in Excel
When I open blank sheet and try to insert New List of bugs I get following error: TF84032: Team Foundation could not insert the work item list because there is data in the worksheet that cannot be moved. Select a location where there is enough space to insert the list. I would understand if there is some data in the sheet. But the sheet is BLANK. I use Excel 2003. I have installed .NET Programmability Support and are there any other Office features required Any suggestions how to solve this error issue A few questions: Did the suggestion to repair VSTO work for you What versions of VSTS/TE and TFS are you using - RTM or SP1 Are there any TFS application event log errors on the Application ...Show All
Visual Studio Express Editions How to create user control textbox that accept only numeric characters
How to create user control textbox that accept only numeric characters and has all his properties and methods i create that but how can i add textbox properties and methods in my user control you can simplify by using the isnumeric function: Private Sub myTextBox_KeyPress( ByVal sender As Object , ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles MyBase .KeyPress If Not IsNumeric( e . KeyChar) Then e.Handled = True End If End Sub ...Show All
Visual Studio Team System MICROSOFT - Please Clarify
For me all this is hopelessly confusing. Can anyone from Microsoft tell me if I will be able to install CTP7 with my current copy of Visual Studio Team Edition for Software Developers I don't want to uninstall CTP6 and then be told I don't have the correct version of VS to install CTP7. Thanks - Amos. Hi Amos, No. If you have no other version of VSTE, then DataDude (RTM) will install as a standalone product. AKAIK - If you DO have VSTE (for example Developer) THEN DataDude will (as it does in VSTS) extend the installed Version to include the DataDude features. This is why CTP7 will not install alone (RTM will). CTP7 is only the extensions required on top of VSTS but does not include ex ...Show All
Visual Studio Tools for Office Not able to install winfx february ctp
I am trying to install the winfx february ctp but i get the following error. setup could not download all of the necessary files.To attempt another download.......................... WinFX Runtime Components 3.0 - Beta 2 has encountered a problem during setup. Setup did not complete correctly. My actual requirement is to install VSTO v3.I have done the following 1.Installed visual studio 2005 standard edition 2.Installed office 2007 beta 2 3.but iam not able to install winfx feb ctp. ...Show All
Visual Studio Team System Warehouse update problem
Hello, We created a custom report that gets data from the TfsWarehouse.dbo.File table. The report works fine, except it does not return information about files in one specific folder. This folder was migrated to the TFS source control just recently (two weeks ago, while everything else was migrated a month earlier) using VSSConverter. When I do a simple select * from dbo.[File], I don't see any files from that folder. I tried everything from this article: http://msdn2.microsoft.com/en-us/library/ms244674(VS.80).aspx without any success. Finally I used Setupwarehouse -rebuild followed by http://localhost:8080/Warehouse/v1.0/warehousecontroller.asmx "Run", it was working for 1.5 hours, but select * from dbo.[File] still does ...Show All
SQL Server Cannot open database "xx" requested by the login. The login failed.
Hi, we are running a webapplication, using IIS6, Windows 2003 64 bit in classic Asp. In the ASP pages we connect to our SQL server (SQL Server 2005 64bit,windows 2003 64 bit), mirrored on a third sql server (same software /hardware setup as the first sql server). The mirroring is without witness. This works but sometimes we get the following ODBC error in our ASP application : Description: [Microsoft][SQL Native Client][SQL Server]Cannot open database "OBJECTS" requested by the login. The login failed. No error can be seen in the principal SQL error logs. But a failed authorization can be found on the mirror server.. And this of course this makes sense, as t ...Show All
Gadgets Problem getting XML through network/proxy
Hi, I was following the "Gadget Developer's Guide" to create a simple one that gets XML from my machine and render it as HTML, The XML is exactly the htmlcontent.xml in the guide, and I tested the URL works fine, the response on GET request looks like: HTTP/1.1 200 OK Content-Length: 418 Content-Type: text/xml Last-Modified: Wed, 13 Dec 2006 18:26:31 GMT Accept-Ranges: bytes ETag: "6e595436e41ec71:36c" Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET Date: Thu, 14 Dec 2006 03:22:43 GMT Connection: close < xml version="1.0" encoding="utf-8" > <XmlContentDoc> <Content type="html"> &nb ...Show All
SQL Server Custom Code for a Parameter
I'm using a GAC-installed assembly as part of a Reporting Services (2005) report. The code does not need any permissions beyond execution. All it does it take today's date and calculate last week's start and end date. It's all just datetime manipulations. All methods are static. In the VS2005 report designer, I can do everything fine. The code runs as expected and defaults the parameters to the right date. When I upload the rdl to the Report Server, I get the message "Error during processing of ‘Start’ report parameter. (rsReportParameterProcessingError) ". If I override the "Start" parameter, it doesn't give me that error anymore. Start should be the Sunday of the previous week. I have deployed the signed ass ...Show All
