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

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

Lingonsylt

Member List

wencey
kettch
Alex118
KeithGWilliams
JRGuilbault
Mark Leung
Brant Yin
Andrew Buyan
SecurityException
John123
ChinaTiger
l3igmike
AdamusTheGreat
davco
BDev13
Stefan Ghose
Galoleins
BlackCatBone
mitasid
Mikhail Ryzhinskiy
Only Title

Lingonsylt's Q&A profile

  • Windows Forms Threading and winforms

    How do I "Post" an event to the UI thread I have a winforms app that by definition does communication in seperate threads. I want to pass the message handling to the UI thread to avoid having multiple threads access my data structures. In win32 all I had to do is post a message to the window. Is there a way to do the same in winforms -- Like calling a delegate, but making the UI thread invoke it instead of the current worker thread Thanks BeginInvoke is the equivalent of posting to a UI message queue. If you're in an event handler and need to tell if you're on the the UI thread you can use the Control.InvokeRequired property to tell if you should recall the delegate with BeginInvoke. ...Show All

  • Windows Forms Refresh Form Without Changing Its Position

    I have tried the two following methods and i can achieve refresh purpose but i can't keep the position of the windows. Basically, i hope to refresh the windows which means reexecute from the form_load action without closing or disposing it. Once we dispose or close it, the position will definitely change when we call it out again. May i know how to solve this Thank you.   Method 1 Private Sub new_b_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles new_b.Click Me .Close() Me .Dispose() Dim display_form As New current_form display_form.Show() End Sub   Method 2 Private Sub new_b_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Hand ...Show All

  • Visual Studio 2008 (Pre-release) Using Canvas.SetTop is only working in debug.

    I have an object that I reposition at runtime in a drag canvas. Using Canvas.SetTop it works when I step it through debug but not during runtime. Any Ideas I noticed that it is only my custom control that is not working as expected. I have line that is instantiated and placed in the drag canvas and it works fine. Do I have to create some kind of dependency property in my custom control so the it's top position can be set using SetTop ...Show All

  • Community Chat Zune and the iPod

    I've been following the Zune announcements fairly closely here at work. If you follow my blog, you'll see that I'm pretty passionate about media technologies, and recently went through the pain of migrating away from iPod/iTunes and onto Yahoo Music/Gigabeat S (Portable Media Center). Here the blog category where I talk about it: http://blogs.msdn.com/joemorel/archive/category/13772.aspx Now Zune is in the mix. It looks pretty neat, but I'm not sure if people are really going to go for the whole WiFi thing. I'm just not sure that I want to listen to the same music as the person sitting next to me on the bus. What do you think I've had an iPod and hated it. I have a Muvo, and I love it. It holds a gig of music, the screen is ...Show All

  • Windows Forms Can anyone tell me what logic can i apply in the following situation? (Parsing)

    In file there is a lots of row like this..... "REM16703","PSO","AR","xxxxxxxxx","1417510002","304851","Buy","2000",".111","314","00232223" "REM16703","PTC","462","xxxxxxxxx","1415080002","304451","Buy","10000",".0158","42.7","00231826" "REM16704","MCB","844","xxxxxxxxx","1439270002","306066","Sell","600",".0703","192.25","00233332" "REM16704","MCB","844","xxxxxxxxx","1 ...Show All

  • SQL Server Manually Inserting Data in DateTime Field

    Using Server Explorer in VB 2005, I am manually entering data in a table in a SQL Server 2005 Express database that includes a DateTime field. I have tried every conceivable format, but no matter what I try get one of these 2 errors: 1. String was not recognized as valid DateTime 2. Operand type class; text incompatible with DateTime I have Googled this to death, but no example which involves trying to enter the data manually, say from Server Explorer. Formats tried include all datetime formats (mmddyy, yymmdd, using dashes or slashes, enclosing in single quotes or pound signs). I would appreciate if someone could please give me an example that I can literally insert without error. I am an i ...Show All

  • Visual Studio Custom Guidance Package - Auto enable WCF Gudiance Package?

    Greetings! When I create a WCF Software Factory Project, several projects are created. One of the projects, for example, WCFService1.DataContracts provides a right click menu that says: “Service Factory” on it. I’m creating a custom guidance package and would like to enable WCF in it to allow for similar functionality. After inspecting the resulting project from the WCF factory, I notice the following tag: <ProjectExtensions> <VisualStudio> <UserProperties IsWCFDataContractsProject="True" /> </VisualStudio> </ProjectExtensions> Adding that to my own project file in the guidance package solution does not enable this menu, any suggestions on how to gain access to WCF though ...Show All

  • Visual Studio Team System Problem mapping OutlineNumber

    I am trying to recreate the MSProject hierarchy in TFS. For that reason I want to map OutlineNumber to a TFS field of type string. However, when I add that mapping to TFS, I cannot create work items in Project anymore. When I select a certain work item (which has the mapped field) in Project and I leave the cell, the value I selected disappears. When I remove the OutlineNUmber mapping, there is no problem anymore. So, I know where the problem is, but I don't know where to find the solution. Surely, it must be possible to map OutlineNumber which is just a string to a string field in TFS OK, that helps. Yes, I can add a new columns with a formula to copy the value of OutlineNumber. When I map this column to TFS, I get the right Outline ...Show All

  • .NET Development Server Application Unavailable - 1.1.4322 - access - machine.config

    I have a new workstation (xp pro sp2) that I am having trouble with. When I try to open an ASPX page on the localhost I get the following error: Server Application Unavailable . It refers me to the application event log for more info. There, I find two errors: aspnet_wp.exe could not be launched because the username and/or password supplied in the processModel section of the config file are invalid. and aspnet_wp.exe could not be started. The error code for the failure is 800700CB. This error can be caused when the worker process account has insufficient rights to read the .NET Framework files. Please ensure that the .NET Framework is correctly installed and that the ACLs on the installation directory allow access to the conf ...Show All

  • SQL Server MDAC upgrade problem CompCheck reports 2.5 instead of 2.8

    I am running SQL server on a Windows 2000 server with sp4 installed. After installing SQL service pack 4 on the machine my applications began complaining that MDAC was version 2.5 sure enough CompChecker reports version 2.5. I have tried to install the latest version of MDAC (2.8) on the machine but no matter what I do CompChecker reports 2.5. I've tried reinstalling the SQL service pack I had no luck with that. Any help with this issue would be greatly appreciated. I don't know if this helps but I think the issue is with the Windows File Protection. If I attempt to rename one of the dlls the server will automatically replace the file on the server with the 2.5 version. Is there some way to overcome thi ...Show All

  • .NET Development Type Casting Webservice Response

    I use WSDL comand line tool (wsdl.exe) to generate source code of proxy for a webservice, compile that source code on the fly using particular instance of ICodeCompiler into standalone assembly, create instance of proxy class using Reflection, e.g. Activator.CreateInstance(). The Webserive returns an array of complex data types. When I invoke the method, how do I type cast the response object into the complex data type After invoking the method VS C#, returns an object, instead of an array of objects or even an array of complex data types. I have tried creating a object using Create Instance; however, how do I create an array of such Here is the wsdl: < xml version="1.0" encoding="ISO-8859-1" > <definitions xmlns:SOAP-ENV="h ...Show All

  • Visual C# How to get active directory organizational unit

    Hello, how can I find out the organizational unit a user belongs to in the active directory if you can point me to a good tutorial that would be good as well, thank you in advance. Hi, you need to use something called Active Directory Services Interface (aka ADSI) to interact with active directory. This is what came up on live.com http://msdn.microsoft.com/library/default.asp url=/library/en-us/vbcon/html/vbconIntroductionToADSIObjectsInVisualStudio.asp Look at " Searching Active Directory Hierarchies" ...Show All

  • SQL Server Newbie looking for direction

    Happy Friday afternoon, all, My task is seemingly simple. I have data on the server in MS Excel Files. I need to get the data into multiple tables in a SQL Server db on the same server. I have been only working with SSIS for a bit, so please bear with me. I can load the data directly from the Excel worksheet to one table, but I need to run an already defined stored procedure on the data from Excel before putting it into tables. I need to loop over all the rows and run the data from each row through the stored procedure. So, I think I need an Execute SQL Task withing a For Each Loop, but neither is available on the Data Flow page, and I don't see how to use them in the control flow page. I don't see that any of the Data Flow tr ...Show All

  • .NET Development Sybase in .Net ( C#)

    Hi All, I wanna to use BCP utility for Sybase to get a data from Sybase in c# console Application and the data to send to SQL Server by BCP Process.. Please help me out to import the data. thanks in advance, -- senthil If you want to import Sybase data to SQL Server I would just use the DataReader and the SqlBulkCopy Class . ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Legacy audio content

    Is it just me, or is there no way to use legacy audio content in XNA It doesn't appear there is a way to load .wav files into the pipeline. I'm trying to load .wav files out of an old prepackaged format and I can get everything else to import into the pipeline using custom importers... You're correct, you can't load .wav files directly into your game. You have to use XAct to create the content pipeline assets. Google "XNA sounds XAct" or some such and you'll come up with plenty of material. Check here  and here  for two quick articles I found in 30 seconds. ...Show All

©2008 Software Development Network