Software Development Network Logo
  • Visual Basic
  • Microsoft ISV
  • Windows Vista
  • VS Express Editions
  • Visual C#
  • Visual C++
  • Visual FoxPro
  • Smart Device
  • Game Technologies
  • Architecture
  • Visual J#
  • VS Team System
  • Visual Studio
  • .NET Development
  • Windows Forms

Software Development Network >> Somebody Else's Q&A profile

Somebody Else

Member List

slamzeedoor
Thomas N
Jeeva_mega
smv
Ferni
DotKu
DarksAngel
Leandro Rodrigo Saad Cruz
sheetalsonar
velibicer
herd
Khamal
Shuja
Kate Wells
VMartin
ToMoGroup
Shining Arcanine
PDMG
Bartosz
hvymtl
Only Title

Somebody Else's Q&A profile

  • .NET Development Threading problem

    Hi, I have a Windows Form and I need to create another thread to wait for an input somewhere else in the program. When this happens, I will have to access the form and modify it. Right now, this creates an error because I can't access/modify the form from a thread that didn't create it. I've searched through the reference and found that the ThreadPool class allows me to "wait on behalf of other threads" but I haven't found a solution with that yet. Does anyone know of a way to solve the problem Thanks in advance, Wing yes in your thread code: yourForm.theUpdateMessage = "My Message"; yourForm.Invoke( n ...Show All

  • Microsoft ISV Community Center Forums What's your experience with the buddy program?

    Started by admin at 03-28-2005 5:11 PM. Topic has 2 replies. 03-28-2005, 5:11 PM admin Joined on 12-16-2004 Posts 14 What's your experience with the buddy program We've already received a couple of posts on buddy experiences (thank you!) and would love to see more of them, so feel free to jump in and reply to this post and share yours! Thanks, Brenda [msdn/isv] 05-09-2005, 6:08 AM thomas woelfer Joined on 02-14-2005 Posts 5 Re: What's your experience with the buddy program i introduced myself and never h ...Show All

  • Visual C# ProcessStartInfo.Start() problem

    I have a simple application that takes a folder path and open in the windows explorer. Here is the code i use Process p = new Process(); p.StartInfo.FileName = "explorer.exe"; p.StartInfo.Arguments = strFilePath; p.Start(); The problem is that when the filepath contains spaces it works just fine on my xp machine but on my clients machine which use windows 2000 the application fthrows the exception filenotfound. I would like to know why it works on xp and doesn't on windows 2000 You will need to quote the arguments. However, you can simply pass the folder path to StartInfo ...Show All

  • Visual C++ Notification on Text change for Windows Control

    Hello, I have a question in SDK windows programming. I have a window control, implemented as an editable control for user to enter text. User can add text in the window control either by typing through keypad or copy/paste using mouse. I call GetWindowText() to read text from the control. I want to display a message while user is entering text or copying a value, if the text exceeds a certain length. I am aware that I can trap keyboard and mouse events to do this. But I would like to know if there is any way to get notified, when there is a change in text on a window control Your response is appreciated. Thanks. ksrks ...Show All

  • Windows Forms Modify a control from a different class in the same project

    I have a DummieApplication with the following classes: MainWindow, MessageWindow, Provider, Notifier. Now I want to acces the text in a textbox, from Mainwindow, in the class provider. I want to change the text of the Mainwindow.txtBla from the class provider. How can I do this "MainWindow.txtBla" isn't the answer. Problem is that I'm working in WPF and this technologie uses a MyApp.xaml to control the startup. Don't know if you already worked with WPF and xaml Else I'll explain a bit more. ...Show All

  • Visual Basic Turn off green coloring after filling out a snippet?

    Hi there Tryed searching for an answer 'cause I really cant understand that Im the only one that have this 'luxury' problem. Is there any way to turn off the green coloring after having filled out the snippet information other than closing down VS2005 If this is what I think it is, there is a bug logged in the product feedback centre about this. It's down for upgrades right now, so I can't search for the relavent bug. There's an issue with the format of your snippet; once the produce feedback centre is back up you can see the workaround. ...Show All

  • Visual C++ _CRT_SECURE_NO_DEPRECATE doens't eliminate warning related "strnicmp"

    Defined _CRT_SECURE_NO_DEPRECATE in project properties, it did eliminate most warnig related to using C function such lik sprintf. But I still got deprcation warning of "strnicmp". Is there any other macro I should use Thanks a lot! Also on release of VS2005 it is going to say exactly why a function is declared deprecated in the message itself and recommend which function to use instead. Nikola VC++ ...Show All

  • Visual C# Event Args.

    private void rbButtons_CheckedChanged(object sender, System.EventArgs e) could someone break this event handler down for me....what is the purpose of the 'object sender' and 'System.EventArgs e' Hi, This event occurs when the state of a RadioButton changes. sender will contain the instance of RadioButton on which the event occured. EventArgs is the base class for all classes which contains data regarding an event. In this case there is no data in the EventArgs, in other situations such as the KeyPress event of a Form, a class derived from EventArgs is used which would have data such as the key pressed. private void Form1_KeyPress( o ...Show All

  • Visual C++ MSVC++ 6.0 Pro error c2400 in assembler

    The following code produces the error: error C2400: inline assembler syntax error in 'opcode'; found 'xmm0'        __asm {          mov    esi,   this            ; vector u          movups xmm0,  [esi]           mulps xmm0,  xmm0            ; mul with 2nd vector          movaps xmm1,  xmm0&nbs ...Show All

  • Visual Studio Team System AvoidUnusedPrivateFields fires a false positive

    In the following simple scenario: ----------------------------------------------------------------- class Class1{    private const string suffix = "End";    private const string s = "String";    static void Main( string [] args){ System.Console.WriteLine(s + suffix);} } ----------------------------------------------------------------- the FxCop 1.32 fires AvoidUnusedPrivateFields for both 'suffix' and 's'. In our code the 'suffix' string is concatenated with various constant strings, usually being members of other classes, so the two strings cannot be changed into one constant, a ...Show All

  • SQL Server DataReader Source and Column Types

    Is there a way to control the types for output columns of a DataReader Source It appears that any System.String will always come out as DT_WSTR. As I have my own managed provider, and I know what went in, I can say that really it should be DT_STR. The GetSchemaTable call from my provider will always say System.String as it does not have much choice, but GetSchemaTable does contain a ProviderType which is different for my DT_STR vs DT_WSTR, or rather when I want each. I think something like MappingFiles as used by the Wizard would work, but can I do anything today Darren, I am afraid there is no way to influence this mapping. The Dat ...Show All

  • Smart Device Development define xml-file & path

    Hi there I just created a sample Project (.net CF for Windows Mobile 5.0 PocketPC) where I bind a XML to a DataGrid, and now I have the following problem: I dont know how to define the file-path in the Code, it will come a FileNotFoundException My definitions i tried: xmlFileName =" \\..\\..\\AccountingData.xml " ; xsdFileName =" \\..\\..\\AccountingData.xsd " ; ...="D: \\ VisualStudio Projects \\ Mobile\PocketAccaunting \\ PocketAccaunting\\ AccountingData.xml " ...="D: \\ VisualStudio Projects \\ Mobile\PocketAccaunting \\ PocketAccaunting\\ AccountingData.xsd " ...Show All

  • Visual C++ Need help with SendDlgItemMessage(...CB_FINDSTRINGEXACT..)

    I'm getting a "Unspecified Error" when my code got to the SendDlgItemMessage to retrieve the index that is a matched to the string that I sent. Can someone see how I coded this incorrectly Also, the index value is return through lResult. How do I get the index from lResult variable It's defined as IRESULT which is a long pointer. Thanks. PWSTR SR= bstrtSearchResult; //This is the content of syamrk-ComputerReference token = wcstok(SR, seps1); for ( int i = 0; i<2; i++) token = wcstok(NULL, seps1); //Find the 3rd forward slash token = wcstok(NULL, seps2); //Find the 1st comma and we got the symar ...Show All

  • .NET Development Serialization with web parts

    Can .NET remoting and serialization used in same way we do with ASPX in web parts of sharepoint portal If no, then how can we use serialization in web parts of sharepoint portal prit The remoting infrastructure provided by the .NET runtime is a very powerful model that allows you to leverage the services of objects residing in different App Domains and host machines. The remoting model in .NET is extremely simple yet brings with it a whole myriad of rich features that allows you to fine tune the scalability and performance of your web service. It allows for communication between multiple App Domains either in the: same proces ...Show All

  • Windows Forms Windows XP Themes

    I know that .NET 1.1 provides Application.EnableVisualStyles() to enable Windows XP themes.  But, is there a way to determine programmatically at run-time whether Windows XP themes are enabled    I'm creating a user control, and depending on whether Windows XP theme are enabled, my control will render differently.  So, I need to know whether the client app  ...Show All

©2008 Software Development Network