Dave_W's Q&A profile
Windows Forms draggable picture
Hi.. i am new to vb.net programming. I need a help in making a draggable picture. like moving a picture box or drag a picturebox. how can i make a draggable picturebox in vb.net. any help is welcome thanx OK. If you want to mo ...Show All
Windows Forms Can you run a seperate process as a child form?
We'd like to write some functionality in a child MDI window that can be "plugged into" several different applications but we don't want to have to recompile those container apps when the child changes (nor vice-versa). Is there a way to run a different process (exe) as a child MDI window in other exes I only get it as a child window, not as a MDI child window. I pass the MDI forms Handle propert ...Show All
Visual Basic Problem reading Chinese characters in Excel file using Visual Basic
I open the excel file, which contains Chinese characters, to read its contents, with: Set appexcel = Excel.Application Set appexcel = CreateObject("excel.application") appexcel.Workbooks.Open "file.xls" temp = appexcel.Cells(1,1) appexcel.Workbooks.Close appexcel.Quit Set appexcel = Nothing PROBLEM: When the excell cell contains Chinese characters, temp reads them as just question marks, . QUESTION: Ho ...Show All
Visual Studio Dos file Sharing
Is there any command for file sharing from dos like we share in the windows ......... if we want to share c:\ what is the command for that in the dos ....not want to share from windows .......as in windows shrpubw.exe file is used for sharing ....... Hi, I'm not sure what kind of Share functionality you're talking about... If you're looking for SourceSafe's Share feature, the ss.exe command line tool should help you. Use it with Sha ...Show All
Visual Studio 2008 (Pre-release) Locbaml doesn't work
Wrote a XAML application very similiar to the sample from the devx website (and the same way as in the SDK). Used the locbaml tool to extract information. No problem. Got my CSV file. Translated it. Put it back into a new dll. Tried to run the application and it gives an exception saying that it can't find mainwindow.xaml (which is my primary window). Tried all sorts of things, but couldn't get it to work. Only time it worked was when I took the ...Show All
SQL Server SQL 2005 Ready?
I need a gameplan from Microsoft regarding the tools provided with SQL 2005. I have customers wanting to switch (mainly for 64-bit, but other reasons), but my first attempt at upgrading to 2005 I uncovered serious bugs in SQL Management objects, SQL Management Studio, Script Generation and more. I can't even believe some of this stuff was even tested. The engine appears solid, but buggy tools and the inability to use tools ...Show All
Visual Studio Team System Rule provided an empty or malformed Url
Hi, in FxCop 1.35 beta i got a FxCop message on FxCop start for every user defined rule like this: Rule provided an empty or malformed Url: file:\\xxxx\yyyy\FxCop\HtmlHelp\RuleDescription\zzzzz.html The Url works and i couldn't see any problem there. Is this a bug in FxCop 1.35 beta or what i'm doing wrong Thanks for support Hubertus Hi Jeffrey, It works - great. Thank you very much. ...Show All
Windows Forms Binding to RadioButton
Hi, Can anyone show me how to bind to radiobutton Thank you Hi, This article might be of help to you. http://msdn.microsoft.com/msdnmag/issues/04/07/AdvancedBasics/ Regards, Mamta ...Show All
Visual C++ LNK2019 problems
I'm currently migrating a DLL which compiles and links fine on Visual Studio .NET 2003 over to Visual Studio 2005. Its using a couple of custom libraries provided by a thrid party (but source included). I've recompiled the external libraries without a problem, and the linker can find them fine. I have to specifically tell the linker to ignore libcmt.lib and libcpmt.lib, as for some reason it tries to link them in (I'm compiling as a multi-threa ...Show All
SQL Server LIMIT Clause
It seems current version of SQL Server doesn't support LIMIT clause in SELECT statement. Will future version of SQL Server support it Thx. Maximilian, I don't know if the keyword LIMIT will be supported, but even in the current version, you should be able to get the same functionality with the enhanced TOP syntax and/or the new ranking functions. For example, to delete just 10 rows: delete top (10) from ... and to selec ...Show All
.NET Development SelectNodes only works one level when xmlns is present
SelectNodes only works for one level when xmnls is present. My xml file has a xmlns declaration and SelectNodes only works for one level. My code: XmlNamespaceManager namespaceManager = new XmlNamespaceManager(xmlDocument.NameTable); &nbs ...Show All
Visual Studio Tools for Office WebService and VSTO project, on diff. machines and planets
Hello! I will give 1 million kisses to the 1 st person to clarify the following issue I have a VSTO project and a WebService project. I can send data to the WebService and retrieve data. Both of the projects are linked on my pc and everything works. The thing is that I need to export my VSTO project to lets say machine A (in my toilet) and my WebService project to machine B (over in my attic). Does it involve the same process ...Show All
Visual Studio Express Editions Help with databases
Hi I have a database with about 20 columns one of which is vehicleNumber and one of which is temperature. I have many different vehicleNumbers. When the user types a vehicleNumber into a text box I need to collect all the temperatures for that vehicle and find the average temperature. I am not using SQL, I'm using an access database with the dataset and all that. I found a little information suggesting a dataview. Can anyone help me Just t ...Show All
Visual Studio 2008 (Pre-release) Anyway to force members to be protected instead of internal?
When you have something like this in Xaml :- <Ellipse Name="mEllipse" Width="100" Height="50" Fill="Blue" /> In the generated IL, mEllipse is marked as assembly (C# internal). Is it possible to get it to generate it as family (C# protected) If you are wondering why, the idea is to have a Xaml based C# control library - no code, just the UI in Xaml. Now, this allows us to derive a class (usi ...Show All
SQL Server Help creating Embedded code Function
How can I create a VB.NET function to run my query below that my SSRS report can run to retreive TotalPostingDays so I can show that in a textbox in my report I need help creating the function in the Report properties of my SSRS report and not sure how to call this stored procedure to return TotalPostingDays. I need to do this calculation by using a UDF, not stored procedure maybe. The problem is, I do still need t ...Show All
