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

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

achalk

Member List

Toddap_MS
JS TCS
ThunderRock
Rohit Tela
powerevan
Pavel Makovec
Z.Y.S.
Seppe001
Charlene Reeves
chub xbox
Simjith
JohnnieIrish
J Tatta
BillyB
fawltster
HSBF Lewe
MPSIperson
JaredJ
Laxmi Narsimha Rao ORUGANTI MSFT
techsavvy_pat
Only Title

achalk's Q&A profile

  • .NET Development Windows 2000 Unhandled Exception

    I am running an app that connects to an SQL Express DB. I have a public connection variable Public mySqlConnection As System.Data.SqlClient.SqlConnection I then initialise it and connect to the DB like this: Dim DBName As String, DBPwd As String, sConnect As String DBName = "TimeBooking" DBPwd = "xxxx" sConnect = "Data Source=10.130.16.94\SQLExpress;Initial Catalog=TimeBooking;User Id=tb;Password=" & DBPwd & ";" mySqlConnection = New System.Data.SqlClient.SqlConnection(sConnect) This works fine on three machines all win XP Pro but reports an unhandled exception when run on Windows 2000. Two strange things are: 1. The exception SHOULD actually be handled as I have a Try ...Show All

  • Visual Studio Team System Extending Team Portal to have calendar...

    Hello, I'd like to try to extend a team portal to add a Calendar to the portal.  I thought there would be some type of Web part that did this i.e. mycalendar.  To my dismay I have not found that or any other web part that I could use.  My question is: Is there a calendar available for the Team Portals   If so, where can I find this calendar Thanks a million in advance. BJHop FYI we are using Conchango's Scrum for TFS process template. The Event's web part is part of the basic install of SharePoint 2.0 and 3.0. I'd be very surprised if you don't have it. Are you the WSS administrator If not, I would ask him/her about it. You should be able to see it by simply selecting 'Modify shared page/add ...Show All

  • Smart Device Development skipping among controls of form

    when navigate through controls that placed on Form (or panel), the ‘next’ of the last placed control is the first control that placed on the form (with the assumption that we keep the tab order..), my question how can I change the form behaviors that when last control is focused, this skipping will not take place (the only way to move will be up), like all the native menus of the WM OS. thanks, Oren I had to get a little more into the detail to fix this issue as although the above is the obvious case, if you have a full screen of nonfocusable controls this create a similar problem; bascially these controls are jumped over. I override the dpad-up and dpad-down. In this override I find the nex ...Show All

  • Smart Device Development PPC2003 connect SQL Server through WIFI, howto?

    Please guys..I'm waaayyyy behind schedule here..Need Help! I have 2 applications, one is Windows Form app and the other is SmartDevice app (PPC2003) : the question I want to ask is, how to connect my PPC to SQL Server through WIFI.the problem is always error everytime I open a connection : " System.Data.sqlClient.SqlException: SqlException at System.Data.sqlClient.SqlConnection.OnError() at System.Data.SqlClient.SqlInternalConnection.OnError() ", but on my Windows Form works fine!here's my code: Dim connection As New SqlConnection(" Data Source=192.168.0.1;Initial Catalog=MyTable;Integrated Security=True ") connection.Open() Dim queryString As String = _ "SELECT name FROM Customer&quo ...Show All

  • Architecture Implementing DTO's in.Net

    Hi, Can anyone suggest some good approaches to build Data Transfer Objects using .Net custom classes. Also would like to make them bindable friendly. Meaning when I have an array of entities and would like to bind the same to a datagrid. what interfaces do I need to implement to make it bindable to the datagrid. Thanks Sai Hi Sai, I invite you to check an article published in SkyScrapr a couple of weeks ago Passing Data Between Layers and/or Tiers That article comments about DTO and particularly mentions a free way to take advantage of its benefits in the .NET platform, thanks to the typed datasets (not just mere ADO.NET datasets but domain classes backed on datasets) Hope ...Show All

  • Software Development for Windows Vista Custom class as an activity property and the property grid

    I wish to have a simple class containing only primitive types (string, int, etc.) as a property for an activity. However, after adding the property and dragging it onto the workflow, the property grid does show my property correctly. I would like to be able to expand it so I can see and set each individual property of my custom class. I have tried adding [TypeConverter(typeof(ExpandableObjectConverter))] as an attribute to my property, but it did not have the desired effect. Can anyone give me some pointers to accomplishing this I'm new to WF so this is a learning process for me. Thanks, Chris Hi, which property has to be initializied in which constructor Can you post your code here T ...Show All

  • Visual Studio 2008 (Pre-release) Rolebased Security & controls

    Hello, For my WPF application, I need to use rolebased security to: a) Disable buttons b) Make controls readonly or read/write I'm planning to use an access matrix for each role. Each control has a boolean that indicates if it is enabled or if it is readonly. It just seems like a lot of work, and lot of binding code (in xaml-binding and cs-properties). aya-yaya... Is there a way out of this Is there a better approach Thanks Houman Josh, that is a great idea! I really like that. Unfortunately my problem is a little bit crazier than the regular rolebased security :( The admin can configure which controls are enabled or disabled for each role. Thanks Houman ...Show All

  • Visual C++ Why is casting needed in this example

    I am a little stuck understanding why casting is needed in the following example (Example taken from MSDN website):- // A simple program that uses LoadLibrary and // GetProcAddress to access myPuts from Myputs.dll. #include <stdio.h> #include <windows.h> typedef int (*MYPROC)(LPTSTR); VOID main(VOID) { HINSTANCE hinstLib; MYPROC ProcAdd; BOOL fFreeResult, fRunTimeLinkSuccess = FALSE; // Get a handle to the DLL module. hinstLib = LoadLibrary(TEXT("myputs")); // If the handle is valid, try to get the function address. if (hinstLib != NULL) { ProcAdd = (MYPROC) GetProcAddress(hinstLib, TEXT("myPuts")); // If the function address is valid, call the function. if (NULL != Pr ...Show All

  • Visual Basic Macro location

    Is it possible for me to configure the VB.NET2005 IDE to have a different default location for my macros (the VSMacros80 folder) Currently, they are always created in my "projects" folder, but I'd like them to be created (and maintained) somewhere else (perhaps a "macros" folder. This way I can keep my projects and macros separate. Can it be done The Macro IDE is a usless pain. I have added my 'path', can't move it up,and can't get the temp macro to play after putting the path where I wanted it to be. I try to change in the properties tab to no avail. ...Show All

  • Visual Basic ping IP/host

    hey i have now somewhat succesfully made an ip-tracker. how do i make it able to "ping" an IP og host sa it will send out 4 packets or something and then count how many returns you know what i mean im sure. and is it possible to get a "whois" thing build in to it im using Visual Basic xpress 2005. //Martin No The process is purely a call to an external process.   You cant update a progress bar from here.   This will result in the window not showing.       Public Shared Function RunExecutable(ByVal ExecutableName As String, ByVal args As String) As String         Dim p As Diagnostics.Process = New Diagnostics ...Show All

  • Visual C# How to insert a paragraph?

    I'm very new to VS.NET C#. I'm creating a simple app. to launch a flash tutorial. In the form, how do I insert a paragraphc explaining what this app. is going to be I tried the Lable control but it does not give me multi-line option. What do I need to use Thanks! I remember in VB6 how you could edit the text directly in the designer window. It was sometimes convenient, but more often then not I ended up double-clicking on the control and generating an event, instead of "slow double clicking". Editing the text in the properties window is the way it's done in .NET. ...Show All

  • Visual Studio VSS 2005 Crashes When Creating History Report

    My VSS 2005 is crashing when I - Open VSS 2005 Explorer - Navigate to subfolder - Right Click - Select View History - Check "Recursive" - Enter a recent date - Click OK - Click Report - Both Include Details and Differences are checked - Clicking either OK or Preview for any of the choices (printer, file, clipboard) causes a "MS VSS Explorer has encoutnered a problem and needs to close". Button choices are Debug, Send Error Report, Dont' Send. If I click debug, VS opens with a green arrow at the bottom of this method. Unforntuantely I dont know C++, so I dont know any other context to provide BOOL CStatusBar::SetPaneText( int nIndex, LPCTSTR lpszNewText, BOOL bUpdate) { ASSERT_ ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Runtime platform determination?

    What's the suggested way of determining, at runtime, whether we're on Windows or the 360 Getting the PlatformID & if WinCE then we're on the 360 I saw this line in SpacewarGame.cs currentPlatform = System. Environment .OSVersion.Platform; Spacewar doesn't actually seem to do anything with this value but I wonder if you will get back a different value on xbox than you will on PC ...Show All

  • Visual Studio Express Editions how do i set up a directx application on vc# ee

    i have a newer version of directx and can't set up tempate for it to run on vcs ee can someone post a tutorial on how to set up a template for the latest version of directx on vc# ee i mean like how do i do something like in this example Creating an Application Template i tryed doing that but i get errors ...Show All

  • Smart Device Development Remove Webbrowser Control

    I'm developing a CF 2.0 device application. After the user interacts with the app for a bit, I add a webbrowser control to the UI (thanks to a response in another thread) and navigate to a website. After the user is done there, I intend that a menu key event would remove browser and return the user to my app. After trying to remove the webbrowser control Controls.Remove(webBrowser1); The app hangs with a dead browser still in the display. I verified the statement is hit with a debug breakpoint. What is the correct technique for removing the browser control and restoring the app interface Thanks, Best way probably would be not to add/remove the control, but show and hide it instead. ...Show All

©2008 Software Development Network