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

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

jfb628

Member List

Umair-Shahzad
enric vives
reedcbr
pcesarfe
thomas_schmidt
idthiru
DreamingBear
carlp22
Donaghy
tradle
Djalma Rosa dos Santos Filho
regz
-Sam-
Larsenal
JRMcFetridge
Iram
PaulG42
turczytj
Zero_
ro88o
Only Title

jfb628's Q&A profile

  • Visual C# Run time creating GridView control with post back property

    Hi, I unable to create runtime gridview control with post back property. If moved to some extern but when the control is posted back, i;m loosing the desing control value. Please send some sample code, to hold the gridview value and static / design control value when the page is posted back. Thanks a lot. Hi, Your thread is more appropriate in asp.net forum and there you may find satisfactory answers. Thank you. ...Show All

  • Visual C# Last chance exception handler

    Hi, Just in case anything goes horribly wrong in my app, I was wanting to trap any unhandled exception. So I did this in Program.cs: // Last chance exception handler. try { Application .Run( new MainForm ()); } catch ( Exception ex) { ExceptionLogger .LogException(ex); } That works fine when I'm debugging (F5) in VS, but doesn't work when I double-click the .exe file, either debug or release mode. What am I missing here Thanks, Mike Cool, thanks for that info - interesting. Funny, I was just about to add something to my app that will run on a background thread, I'll make sure to do things wrong and test that getting fired. I did change my code ...Show All

  • Software Development for Windows Vista WWF and ASP.NET

    Hi: I want to build an workflow using Asp.Net and WWF(State Machine). I have read some samples , but still have lots of questions. Can someone tell me : 1.What's the steps to build the workflow using Asp.Net and WWF(State Machine) 2.Please give me an easy sample about that. Thanks very much! ^ ^…… Check Tom's blog http://blogs.gotdotnet.com/tomlake/archive/2006/05/02/588617.aspx  for the sample. Official acronym of Windows Workflow Foundation is WF and not WWF. Please avoid using WWF Thanks, Sonali   ...Show All

  • Visual C# Generics: Test for a datatype

    Hello, I want to add special handling for a generic class I am writing. See below: class MyGeneric<T> { private T val; public MyGeneric(int src) { // I want to add customized handling such as this below: if (T is string) val = src.ToString() } } Is this possible with generics The code belos is not exactly what I want to do, but hopefully it gets the point across... I want to have customized handling for cartain types for T. Thanks for the suggestions...  I tried doing the cast as suggested, but got yet another couple of compile-time errors (see code below): error CS0131: The left-hand side of an assignment must be a variable, property or indexer| error CS0029: Cannot implicitly con ...Show All

  • Windows Forms How to: design-time or run-time (again)

    Hi, I need a control to have a different visual appearance during design-time as opposed to run-time. Nothing fancy. As proposed so often before I use the " this .DesignMode" property. However: 1) Create a CustomControl and in the OnPaint() do something like: if ( this .DesignMode) pe.Graphics.FillRectangle( Brushes .Red, new Rectangle (10, 10, 10, 10)); 2) Create a UserControl and in the designer drop the CustomControl onto it. You will indeed see the red rectangle as intended. 3) Drop the UserControl on your main form. The red rectangle will not show. Apparently the DesignMode property is limited to Controls actually being editable. Understandable but I need design time appearance everywhere while w ...Show All

  • Smart Device Development Identify Incoming call

    Hi, I have a question about Phone call. Programmatically How to identify incoming call that comes for me Can i do this thru Phone APIs I could retrieve call informations (missed calls, Dialed calls...) by using Phone APIs. Please send your suggestions or links. Thanx. M. GANESAN Hi If you are using Windows Mobile 5.0 devices use the State and Notification Broker. This API provides all information you need (class SystemState ). For instance SystemState.PhoneIncomingCallerNumber returnes the phone numer of an incomming call. Hope this is what you are looking for. Michael ...Show All

  • Community Chat Pellucid KidSafe browser (beta) Released!

    Hello all, I am making a "KidSafe" browser for kids. Please download my program and post any noticed bugs,etc.  It takes only minutes to set up.  I am 10 years old, so who can make a browser for kids better than a kid Progress:  Final will be started in January Thanks you everyone for your contributions  and encouragement.  *Has 3 tabs for browsing. *Has a "My Websites" button with up to ten of your programmed websites in it. Beta Features: *Has 3 tabs for browsing. *Has a "My Websites" button with up to ten of your programmed websites in it. *Talking Help guide *A new install program Updates in final version: *Button text replaced with graphics. *A game room with games, and fun KidSafe software (suc ...Show All

  • Visual Studio Team System VSTSTFSRTM expires this month, whats next?

    The virtual pc image VSTSTFSRTM will expire by the end of september. Will Microsoft release a new vpc for another 180 day We have used the trial VPC for TFS experimental purposes and we would like to continue with that even after we have deployed a real TFS server (for continous process and method development based on TFS). I guess that we are not alone in wanting to have a full TFS environment up and running on a laptop in a few minutes. An environment that we can do different kinds of testing and dispose, start again etc. ...Show All

  • Community Chat VB.NET

    please does anyone know how to create a non visual class that has the behaviour to count characters, words, alphabets, vowels, consonants, digits thanks I'll break it down.... this is rather advanced for a newbie but it's worth learning. "(\b\w*\b)" - this is a regular expression pattern, it will match many words characters that are surrounded by a start and end word boundry (spaces). \w means word character (a letter that can appear in a word), \w* means one or many word characters, \b means word boundry (a word boundry is almost like the space before or after a word). The brackets performs a grouping, which means any text that matches the pattern is made into a Match object, becaus ...Show All

  • Smart Device Development Connection failed 0x89731513

    Hi, I am new to Smart Devices development. My scenario is the following: - Computer: Visual Studio 2005 + Windows Mobile 5.0 Smartphone SDK.msi + .NET Compact Framework 2.0 SP1 (it happened too yesterday with .NET CF 2.0) - Device: QTEK 8310 with Windows Mobile 5.0 and .NET Compact Framework 2.0 SP1 - ActiveSync 4.1.0 connecting both and working correctly. I creatre a new Visual Basic \ Smart Device \ Windows Mobile 5.0 project and while it works fine on the emulators, when I try to deploy it to the device, or when I try to click the "Connect to Device" button on the "Device toolbar" (the next one to the combobox) I get the error Connection failed 0x89731513. What does that mean It would be helpful to ...Show All

  • SQL Server Two phase commit with sql and msmq

    Doe's anyone have a good article on it Thanks Avi If you google on your subject - ' Two phase commit with sql and msmq ' - you'll get some hits that looks promising. /Kenneth ...Show All

  • Microsoft ISV Community Center Forums Run Time Error 9 when Calling a Userform

    Hi folks, I am getting a run time error # 9 when I run a macro that calls a Userform or when I try to run code in a Userform module. The code performs beautifully on my computer, but it did not work on a coworker's computer. It ended up working on 3 out of the 5 computers I have tried it on. I have tried changing security settings to low, and a bunch of other stuff, but I cannot get the code to run on the computers that get the run time error on them when I try running the code on them. I get the run time error when I try to load or show any userform in the workbook and I get it if I try to run code that is in the userform module. However, if I paste the code into a regular module and run it, the code runs fine. Does anyone know what co ...Show All

  • Windows Forms How to remove ORCA warning ICE33 ICE82 ICE69 VS 2005 Setup project

    Hello There I have created a Setup project using VS 2005 for Office add-in. Setup is created successfully without any error and warning but when I validate setup using "ORCA" its having following warnings. ICE33 WARNING Reg key _D07820B722E34B5FAC309650D805D1A2 is used in an unsupported way. ProgId should be registered via the ProgId table. This entry may overwrite a value created through that table. ICE33 WARNING Reg key _E6919C0D42774F7CA0B53A472E767196 is used in an unsupported way. ProgId - CLSID associations should be registered via the ProgId and Class tables. This entry may overwrite a value created through those tables. ICE33 WARNING Reg key _93511C827CD44164 ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Underlying Native Interfaces

    Is there any chance we can get a IntPtr to the underlying native interfaces, like device, textures, etc Not really. On Xbox 360, the native GPU resources are not even exposed into the managed space for security and performance reasons. On Windows, we do not expose the internal COM interface references. Paul ...Show All

  • SQL Server delete multiple rows with 2 ids

    Hello All, I have a table: idSurrogate int identity id1 int id2 int id1 + id2 is a unique index I need to delete multiple rows from the table given a list of id1 and a list of id2 In other words @id1List = '10,20,30' @id2List = '1,3,5' I need to delete these 3 rows from the table 1) @id1=10 and @id2=1 2) @id1=20 and @id2=3 3) @id1=30 and @id2=5 I am a bit lazy today - can anyone help out with a delete sql stmt Thanks!   Umachandar Jayachandran - MS wrote: You could use a TVF that splits the ids into individual values. You can then write a SELECT like:   delete your_table where exists(select * from ( select t1.val, t2.val from dbo.split_string(@id1List) as t1 ...Show All

©2008 Software Development Network