Software Development Network Logo
  • Visual C++
  • Audio and Video
  • Visual C#
  • .NET Development
  • VS Team System
  • Visual Studio
  • Visual Basic
  • Windows Forms
  • Microsoft ISV
  • SQL Server
  • SharePoint Products
  • Windows Vista
  • IE Development
  • Smart Devicet
  • Game Technologies

Software Development Network >> MrJavaGuy's Q&A profile

MrJavaGuy

Member List

sri111
Ralph Burns
kate1p1
venp
Scott Boyd
Joshizzle
Java Q
shaunhw
Tao Wang CSI
hrubesh
cdemez
hmayer
Jon Stroh
bslim
asalcedo
George2
DudleySoft
Steve Wenck
Chris Holt
dreameR.78
Only Title

MrJavaGuy's Q&A profile

  • Visual Basic DateTimePicker Question.

    Hello. A question, please. How can I clear a datetimepicker in execution time I'd want to show spaces. Thanks... Ok well if you want to make a datetimepicker control display nothing change the Format property to Custom and the CustomFormat property to " " (Blank wont work because it will revert to the default Short Date thingy) ...Show All

  • .NET Development The request failed with HTTP status 401: Access Denied. error when accessing .net webservice

    Can some one please tell me why im getting this error. You are getting this error because your web service needs Authentication and you are not providing the same when you access the web service. The Two solutions for the above problem is Enable the anonymous access of the Virtual directory in the IIS (inetmgr.exe) for the folder Considering the name of the WebService object is service1, provide the following lines to provide the authentication to the accessing application. C# Service1.PreAuthenticate = true ; Service1.Credentials = System.Net.CredentialCache.DefaultCredentials; VB.Net webService.PreAuthenticate = True webService.Credentials = System.Net.CredentialCache.DefaultCredentials ...Show All

  • Visual Studio Team System Subscribing with Web Service do TFS Events

    Hello, I am trying to subscribe to some TFS Events (CheckinEvent, WorkItemChangedEvent, ProjectCreatedEvent). I am doing it using code: TfsEventService. Event tfsEvent = new TfsEventService. Event (); TfsEventService. DeliveryPreference preferences = new TfsEventService. DeliveryPreference (); preferences.Type = TfsEventService. DeliveryType .Soap; preferences.Schedule = TfsEventService. DeliverySchedule .Immediate; preferences.Address = "http://localhost:2023/TFS Subscription WS/Service.asmx" ; tfsEvent.SubscribeEvent( "S-1-5-21-2033024631-3213772562-2269560735-500" , "ProjectCreatedEvent" , "" , preferences); where: ...Show All

  • Visual FoxPro Cannot update table on VFP9 connected in peer-to-peer network

    hi guys...im having a problem when it comes to updating a table on VFP9 connected in a peer-to-peer network..i have already created a drive map (Z:\) and then i tried to open the application on both computers and it worked..but when i tried to perform changes like append and replace which updates the data,it says "cannot update cursor <tablename> because it is read only"..how will i be able to update and made some changes to the data please help me guys..thanks :) MarciaAkins wrote: I am sure that you meant to say READWRITE clause, didn't you Funny! ...Show All

  • Windows Forms .NET 2.0 WebBrowser does not handle javascript calls, navigates instead

    Imagine a web page that includes the following <A> tag: <a id="ButtonOne" href=OnCheckout();"><img ... ></a> Any browser, including the application I'm working with that has a .NET 1.1 C# WebBrowser control embedded in it, will call the javascript OnCheckout() function when that link is clicked. I can expect that, because of the code in that function, I will shortly have a BeforeNavigate2 event fire where the URL is something like http://host.domain.com/page.aspx . Because that happens. Every time. So reliably that we sell it to customers. Now that the 2.0 Framework and VS2005 have come out (and for a few other reasons), we're writing a new version of this product that happens to use the .NET ...Show All

  • Windows Forms Disabling a Control's Beep! [C#]

    Hi. I have a ListView control that takes user input to select the item (e.g. you press 'k' and then 'i' and it selects the item 'king') as per all ListView controls. However, if you first input the '.' key (on the number pad) the control generates a beep, because no item starts with a '.'. However, I use this key for something else in my application, and the app. is run in a situation where errant sounds like this are a problem. I assumed that ... private void form_MainWindow_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Decimal) { // Do the stuff here. e.Handled = true; } } ...would fix the problem, but it doesn't. The control still generates a beep. I have key preview turned on for my form. Is there a ...Show All

  • Visual Studio Express Editions Can't Open Saved Solution Files

    After having saved my projects in Visual C# express, I am unable to open them again. I did a repair, re-installed the program, but still no luck. The program goes through the motions of trying to open the projects but nothing happens. You are right. The application will run so it must have loaded. I just cannot see it to work on it further. I will attempt to get it visible. Lorne ...Show All

  • SQL Server online index rebuild Problem

    Hi Please advice whether i have to do update stats after i do online index rebuild I use Alter index with (options as below) ONLINE =  ON SORT_IN_TEMPDB =  ON STATISTICS_NORECOMPUTE =OFF Should i be doing update stats after this online index rebuild After doing online index rebuild when  clients connecting to DB the Response time has increased .. During Online INDEX REBUILD page file usage rises from 3 Gb to 10 GB and stays at 10 Gb even after online index rebuild i have no idea on this  .. pls Advice ...I Need help.......................... Thanks in advance Pagefile is increased, then check the memory settings on SQL Server. Also if there ...Show All

  • SQL Server BI Portal connected to analysis services 2005

    Anyone has connected the bi portal with analisys services 2005 I have a security problem. Thanks I did what you say, i save the excel as a web page, and the owc give me an error: "Can't process consult" "The following system error ocurred: . " I have the last owc... ...Show All

  • Visual C# The correct way to Windows service

    Hi all, This is some kind of philosophy question. What is the correct way to build windows service And what exactly do I mean My WS (windows service) have timer and every 1 minute it execute method that need to do something. the method need to run on different thread, and it can be stopped during executing. So, Whet is the correct way using timer thread timer timespan and wait and how can I stop executing Start a separate thread in your windows service in which you perform yout task. When it's finished use Thread.Sleep(60000) and then do you task again in an infinite loop. The main thread is still responsive to the message loop so if you get a close there you can terminate the second thread y ...Show All

  • Visual Studio Express Editions How To Resize Picture Box at Runtime

    Anybody here can help me on how to resize the picturebox at runtime Thanks I want to use the mouse to resize the picture box, that when I hover on the side of the pi cturebox the bounding will appear like on the IDE Thanks;) ...Show All

  • Visual Studio Express Editions Crystal Report 10 in Visual Basic Express Edition

    Hi..I'm having problems with printing my report..I downloaded VB Express Edition from Microsoft.com and found out that the package doesn't have a crystal report template..I bought crystal report application and decided to incorporate the report I made on it in my VB Project.. My problem is that I want to print a report of the materials to be shipped in a certain period..My code is like this Private Sub cmdPrint_Click( ByVal sender As System.Object, ByVal e As System.EventArgs ) Handles cmdPrint.Click Try ReportXL.SQLQuery = "SELECT * FROM T_SUB WHERE EXFACTORY >= ' " & cmbfrom.Value & " ' AND EXFACTORY <= ' " & cmbto.Value & " ' " ReportXL.Action = 1 Catch ex As Excepti ...Show All

  • Software Development for Windows Vista Package Load Failure after installing VS Extensions for Workflow

    I saw this problem during the WF betas, but now I have a new machine with a clean install of VS2005. I installed the ".NET Framework 3", "Windows SDK for Vista", and then the "Visual Studio 2005 Extensions for Windows Workflow Foundation" (in that order). After installing these components, I receive the following error when I open Visual Studio: Microsoft Visual Studio Package Load Failure Package 'Microsoft.Workflow.VSDesigner.DesignerPackage, Microsoft.Wirkflow.VSDesigner, Version=3.0.0.0 Culture=neutral, PublicKeyToken=31bf3856ad364e35' has failed to load property. ... Would you like to disable loading this package in the future You may use 'devenv /resetskippkgs' to re-enable package loading. ...Show All

  • Visual Studio Express Editions List View Font setting

    Hi, How do I set the font of all items in a listview control in code. I can set the listview Group Header font like this: But fail to find away to change the items in the list. Dim fontFamily As New FontFamily( "Arial" ) Dim font As New Font(fontFamily, 30, FontStyle.Strikeout, GraphicsUnit.Pixel) Form1.ListAccounts.Font = font Ron The font property of the listview controls the items font as well as the header font...the following code will change the font of the column headers as well as the items in the listview: Private Sub Button1_Click ( ByVal sender As Object , ByVal e As System . EventArgs ) Handles Button1 . Click Me . ListVie ...Show All

  • Visual Studio Express Editions Allowing user to query MDB file from textbox

    I have a form with a textbox, a datagridview, and an execute button. I would like for the user to be able to enter a query, such as, 'Select * from Components where ProjID = 1' and then have the datagrid populated once the execute button is clicked. The MDB file has two tables, 'Projects' and 'Components'. I am able to populate the datagrid with parameter based queries, but I cannot figure out how to allow the user to enter a query into the textbox and then click the button to execute the query. I am using VB 2005 and the MDB is Access 2003. Thanks for your help! You would want to do something like this: imports system.data.oledb Public Class Form1 Dim tbQuery as string Dim myCommand as New OledbCommand ...Show All

©2008 Software Development Network