Zuuljin's Q&A profile
Visual Basic As _ AppDomain in Property and Method Statements
When I define a Property or a Method and I want do concatenate the line before the datatype always AppDomain appears behind the _. What is the meaning of this :-) Because I often do concatenate my Property and Method Declarations before the DataType if often must delete this AppDomain manually. It's Intellisense feature ( http://msdn2.microsoft.com/en-us/library/hcw1s69b ). After you typed 'As ' the editor tried to list all the data types available. When you typed '_' and 'Enter' after that, the editor picked up _AppDomain type. To avoid this, after typing '_', if you see the Intellisense list box, ...Show All
.NET Development Saving a wav file in sqlsever
hi how to store and retrieve wav/mpeg files in a SQL Server table thanks in advance Load Books Online (BOL) and look up 'TEXT', you will want either a text or image type column to store blob (binary large object) data into. There are commands for storing and retrieving BLOB data chunk by chunk. Some things to consider: - The model for working with BLOBs is far from convenient and will cause you to spend additional time you could have instead spent on implementing file transfer code. - Storing blob data to a sql server database will impede performance. - Storage requirements will increase, and you would'nt wan ...Show All
Windows Forms PropertyGrid Guru needed for Custom Editor Problem.
If my custom drop down editor(which is basically a multiline text box) is removed from view because the user pressed escape, then I need to know so the propertygrid can ignore any changes made. My 'fantasy vb code for the EditValue function would be. MyCtrl.edSvc = edSvc: MyCtrl.Value = value edSvc.DropDownControl(MyCtrl) if dropdrown was removed with escape key then &nb ...Show All
Visual Studio Team System Merging from one branch to another
I'm having issues merging from our main development branch to our test branch. Before it worked great, but we're restructuring our code, so we've moved about 100 files around. I tried merging the changes but it totally screwed the branch up. We're going to re-do the branch, but in the future is there any way to do a pure "copy & overwrite" from one branch to another Can you elaborate on "screwed up" Can you reproduce the problem Resolving with /auto:AcceptTheirs ("copy changes from source branch" in the UI) will overwrite whatever's in the target. ...Show All
.NET Development How to disable Events in .NET
Hiii, I want to disable the button click event of the page if some condition goes false in the page_load event of the user control in that page. Simply if i have clicked on the button and i want if some condition goes wrong in Page_Laod event i should not fire the Button Click event.. Please help me out. Don't disable the event, just disable the button by setting it Enabled property to false. But when you want to unwire the event you can use: cmdMyButton.Click -= new EventHandler( this .cdmMyButton_Click); This unwires the event. But again, disabling the button is friendlier for the user, because the button w ...Show All
Visual Basic How to make subroutine calls from one form to another non-blocking?
Not sure if this is possible, but I have 2 forms, F1, and F2. I would like F1 to make a subroutine call to F2 and while F2 subroutine is running, i would like F1 to continue to execute it's code. My understaning is that VB is single-threaded but i thought i had read somewhere that this is possible to do this. Any help would be appreciated. thanks bc Even calls to a control will typically be single-threaded, i.e. the call will block. Threading in VB6 is mostly done with non-UI DLLs on the server side. If you really want to do threading with a Windows Forms client app, you really should consider us ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Cloth simulation through physics
Hi, Are there any SDKs that enables animation of cloth like dresses, skirts, hair etc Or any samples on how to implement it (I know it's not an easy task). Thanks! Yup. Just enter "Physics SDK" in your favorite search engine. Many of the higher end engines have support (or add-ons) for cloth simulation. In addition, modeling tools like Maya support cloth simulation as well. ...Show All
Visual Basic WriteAllText Question
Hi All, Why does My .Computer.FileSystem.WriteAllText create a i at the start of a file And is there a way to stop it doing this The output of the program (created by WriteAllText) is dependant on a # starting the file, and not a i # Obviously, it's fairly easy to write the code to read the above, rather than just the # but it's a bit annoying. btw, this doesn't appear when viewed in textpad/notepad etc, only Excel. cheers in advance. James Because the default encoding of the text file is UTF8. To indicate the encoding of the file, a few extra bytes are added to the start of the file which are used by ...Show All
Visual C# 'out' vs. 'ref'
is there some sample, where can to see the diference between both The difference is quite simple. "ref" is used for both input and output. For example... void CleanString( String ref stringToClean) { StringBuilder sb = new StringBuilder( stringToClean); // Replace underscores with spaces sb.Replace( '_', ' '); stringToClean = sb.ToString(); } Notice that "stringToClean" is both read from and written to, so a ref is in order. void GetSomeValue( String out someValue) { someValue = "some value"; } Notice that someValu ...Show All
Visual Studio Express Editions How do i save my Program into something that everyone can see
Hello , im pretty newb in all this C# thing... so i just wanna know ... How i save my proj. into something that others can see too, like open it in the cmd... Please help me Thank You DeadLine If you compile your application (Build -> Build ApplicationName), you will get a .exe file in the project folder (in bin\release). You can simply copy this file to other computers that have the .NET framework installed and run your program. Another possiblity is the Publish feature (Build -> Publish ApplicationName), if you want to publish your program on the internet. ...Show All
Visual Studio Search Returns 0 results
Hi, I tried searching for a keyword in the Documentation. There was no results found. But when I Tried Typing it in the Index Tab I could clearly see it... Is this a known Bug BTW, Im using VC++ Express Beta 2 Note: no filters are active during the search... cheers, Paul June A. Domag Hi Paul, MSDN and MSDN Express Libraries do indeed use a stoplist to weed out common words from search results. This wouldn't explain the bad results from the term 'RaftingContainer' as it would have been treated as one word, and it's not on the stoplist. Since I am not sure what previous term you were searching for I can't say for certain ...Show All
Visual Studio Team System how to customize workitem type by infopath2003
hi,guys: i want to customize workitem type by infopath , but the WorkItemTypeDefinition.xsd is not match infopath,when i load the WorkItemTypeDefinition.xsd in the infopath , the errors occured: "The selected XML Schema contains more than one occurrence of the following field or group: WHEN in the same context. InfoPath can support only one occurrence per context. All duplicate occurrences of the field or group have been removed. The remaining field or group is located in the following group: FIELD The selected XML Schema contains more than one occurrence of the following field or group: WHENNOTCHANGED in the same contex ...Show All
SQL Server Automatic Procedure Execution
Is there a way to automatically execute a procedure For example to make one automatically execute every night at midnight or every hour. Look up SQL Server Agent in books online. This is what it is for. It is pretty simple to use via the GUI, really messy to demonstrate using the procedures :) ...Show All
Visual C# Threading
Hi all, I have a code with a lock function called synchronize. This function synchronize data with a remote server. The function lock all the application untill it gets a reply from the server. Some time the server is busy of down and the reply takes a lot of time and my application is stucked. How can solve the problem using threading or another solution. Please help. Best regards... You don't want to implement this using timers. You'll be waking your thread running X up just to check if Y is done yet and going back to sleep if it isn't. When writing multi-threaded apps, you have the ability signal threads. ...Show All
.NET Development again
hi i need to use VS2005 to do this Yes know then how i will be able to test my tool bar is it tested locally i am confused the fisrt step is to use Boundobject is that enough or i need to use xml also because my project is webservices that i am trying to implement any help with steps that i should follow to start doing this RAM76 wrote: i need to use VS2005 to do this Yes know then how i will be able to test my tool bar is it tested locally i am confused the fisrt step is to use Boundobject is that enough or i need to use xml also because my project is webservices that i am trying to implement any help with step ...Show All
