Software Development Network Logo
  • Visual Basic
  • Visual FoxPro
  • Architecture
  • .NET Development
  • Visual Studio
  • SQL Server
  • Visual J#
  • Visual C#
  • Windows Live
  • Windows Vista
  • Smart Device
  • Windows Forms
  • Visual C++
  • Game Technologies
  • VS Express Editions

Software Development Network >> Carl Tawn's Q&A profile

Carl Tawn

Member List

hgs07
Bassam Mansoob
Lance P. Smith
Sankar2000
ShaadShid
ej
Ferryandi
Tom3030
hobbledskydiver
Steven Hahn
tlin5043
jimmybon
RussianValery
Kushi
BrianFerguson
wwy94621
KumarNNVS
Xiaowei Jiang
Cooperphile
Graeme Foster
Only Title

Carl Tawn's Q&A profile

  • .NET Development Does WinForms have a DataSource control like the one in ASP.NET 2.0

    Is there ASP.NET 2.0 DataSource Control equivalent in WinForms Jacobus, The ASP.NET DataSource objects are designed to simplify the process of displaying the results of queries, modifying those results and submitting changes back to the database.  In Windows Forms, this scenario is already straightforward through the use of DataSets and DataAdapters, so there is no direct equivalent of the ASP.NET DataSource objects. I hope this information proves helpful. David Sceppa Microsoft ...Show All

  • Windows Forms pressing arrow keys as hot-keys changes control focus

    I want to define the Left and Right arrow keys as "hot keys" in my form. I've handled KeyDown, and I set the Handled property of the event, but if the current focus is on a button, radio, check box, etc, then the arrow keys cycle the input focus through controls on the form, or within the same group box. How can I disable this& ...Show All

  • Visual Studio doesn't work: <MSBuild Projects="test.csproj" Properties="Config=Release;Output=($foo)"/></MSBuild>

    I would like build a project but I want build the dll file to a different location. Here is the code: <Target Name="PropertyCreate"> <CreateProperty Value="($MSBuildProjectDirectory)\ReleaseAppLogic"> <Output TaskParameter="Value" PropertyName="ReleaseAppLogic"/> </Target> It doesn't work: <Target Name="buildsolution" > <MSBuild Projects="Cleware.Sol.AppModules.Repair.AppLogic.Interface.csproj" StopOnFirstFailure="true" ContinueOnError="false" Properties="Configuration=Release;OutputPath=($ReleaseAppLogic)"></MSBuild> </Target> It's work: <Target Name="buildsoluti ...Show All

  • Visual Studio 2008 (Pre-release) Docking Manager

    Hello. Is there something like docking manager in Avalon I mean the posibiliy of user to drag and dock controls like Properties or Solution Explorer in Visual Studio. Docking is a de-facto standard in desktop applications and it is really strange that neither Framework 2.0 nor Avalon offers the solution, isn't it Or are there any posibilities/suggestions to do it in Avalon Thanks. There is no built-in component to support drag and drop of elements within a window. I am sure there will be third party solutions, blog posts, or examples in WPF books that cover this topic. I currently plan to cover it in the WPF book I am work ...Show All

  • Windows Forms Docking Problems

    I have a form with a menu and a toolbar, a splitter panel and other controls in the splitter.  If I dock the splitter, it slides up under the toolbar and the menu bar. I put the menu and toolbar into a panel and docked that panel to the top. then dock the splitter to fill or to the left. Fill puts the splitter under the top panel and left moves the top panel to the side.  Is there an attribute I am missing to prevent this   Suggestions Thanks Glen I know I'm late on this post (new to this section of the forum), but even another way is to open the "document outline" (found under the view menu in "other ...Show All

  • Smart Device Development CF doesn't handle new lines as \r\n ??

    I wrote a simple control which used the Graphics.DrawString method to draw some text.  When the text contained a newline "\r\n" it would only display correctly when I ran the app on my desktop, but when I ran it on the Pocket PC emulator it displayed the newline as 2 square boxes. Unfortunately Enviroment.NewLine doesn't exist in the CF and I even tried using the Stringbuilder.AppendLine (it doesn't exist in the CF) or anything that could get me a valid newline. Is it that Graphics.DrawString() method in the compact framework that cannot handle newlines tried that already before, it does not ...Show All

  • Smart Device Development Code Signing

    Hi All, What all steps are involved in Signing Windows Mobile 5.0 binaries (.exe / .dll /.lib) to avoid Publisher: Unknown message popup on device. I had a look at the following blog also but still I'm not very clear what all I need to do http://blogs.msdn.com/windowsmobile/archive/2005/12/17/security_model_faq.aspx I do have valid certificate (root as well as client) that I installed on device and signed with my binaries with its client certificate resulting in same popup message. Can you guys point me to some good link that will provide me detailed steps Thanks Seemit The most misunder ...Show All

  • Visual Studio Express Editions Delete a textline containing a certain string from a text file .

    hello I am new to vb and i cant not seem to solve this problem .What i am tring to do is very simple . I have a simple form with a textbox and a button , i use it to add a line of code into a textfile. This works just fine . My problem is that i want to create a simple form that will delete a line that contains a certain string . i do not want to delete the whole file just a certain string . here is the code i use to add a line to the text file : Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click My .Computer.FileSystem.WriteAllText( "c:\te ...Show All

  • Windows Forms Non-Client Drawing (WM_NCPAINT) + Form Opacity problem

    I am inheriting from a textbox and creating some extra non-client space (using WM_NCCALCSIZE) on the right side. During WM_NCPAINT, I am drawing a button in the extra non-client space. Everything works fine, until I change the form's opacity to anything other than 100%. This is causing the extra non-client space to be come invalid or undrawable. If I run th ...Show All

  • .NET Development Remotting

    Hi I am converting an application to work as remote. I have many static methods on my bussiness classes. If I call them on client application they will be run in client domain. Is there any way to make them to run in server domain. Thanks Not sure if this is the forum for this. shoot me an email and perhaps joining the CSLA forum on msn groups might help. ...Show All

  • Visual Basic opening files

    hi i installed visual basic 2005 express edition beta, but for some reason i can't open my files from school on it. another thing when i make programs how am i supposed to save them because they save but when i open them they won't run Hi, Wow, this is weird indeed. I suggest you try re-installing your VS copy. I'll also consider reformatting if re-installing doesn't work... cheers, Paul June A. Domag ...Show All

  • Windows Forms Location in the Panel with "AutoScroll=true"

    I have a Panel in which, in runtime, I put a “PictureBox” when I click on a button control.   When I click on this button, the PictureBox is positioned in a point with coordinates: (PosX,8) where “PosX” is calculated to place the PictureBox side by side.   When the number of the PictureBox increases, appear an horizontal scrollbar, because of I have selected the AutoScroll property to “true”.   If I move the Scrollbar, and THEN I click on the button to insert a new PictureBox, It will appear in WRONG position. The “PosX” variable is correct, but the new coordinates are calculated from the ...Show All

  • Visual Studio Team System beta3 refresh TFS breaks down.

    2 weeks after using TFS beta3 refresh on a single server,  it seems to break down. 1. when TFC connects to the TFS, it returns the following error: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'. 2. on TFS machine, when connect to the WWS site, ( http://localhost ), it returns the following error:    Cannot connect to the configuration database. For tips on troubleshooting this error, search for article 823287 in the Microsoft Knowledge Base at http://support.microsoft.com. of course, i can't find any info about 'article 823287' in the kb. 3. the WSS central admin web page w ...Show All

  • .NET Development app.config with unmanaged EXEs

    We have an unmanaged exe that pulls in a DLL that has some managed C++ in it.  It turns out that running our app on a system with both .NET 1.1 and .NET 2.0 results in .NET 2.0 being loaded and that is causing our app to crash with an exception code 0xE0434F4D with an HRESULT of 0x800703E6.  I tried creating a foo.exe.config file for our unmanaged exe but it doesn't seem to work.  Here is what the file contains: < xml version="1.0" encoding="utf-8" > <configuration>   <startup>    <requiredruntime version="v1.1.4322" />   </startup> </configuration> However I suspect ...Show All

  • Windows Forms How can Implement a string Collection Editor in a property Grid

    Hi I have done some reserch how to implement the above,however I get lost in more complex examples I have found in codeproject and so on. What I want to do is when showing my propertyGrid I want to have the ability to have a collection editor of strings. For example sake lets say I want to have a collection of car Models. THe problem i have is that i see the collection editor but when I press Add I get "Constructor on type system.string not found" AM I missing something If so could somebody show me with a bit of code Thanks in advance for any suggestions. I have done as follows: '//Collection class #Region "Imports Directives" I ...Show All

©2008 Software Development Network