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

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

mykes

Member List

Khadragy
Davide Rinaldi
White Paladin
SolPub
Doug P.
caaptain
Charlie Y
Gerald Perry
SteveD10
Ehud Shabtai
Myles A
Vladimir Tchalkov MVP
xpding
sv_canada
SRavi
ChrislRoy
flagdan
vvkmlhtr
DOTNETFantasy
leshan01
Only Title

mykes's Q&A profile

  • SQL Server [OLE DB] how to use CCommand::Excute()...

    i want to set up a rowset with CCommand<CDynamicAccessor>::Execute(), but the CCommand do not provide me any function to set the CommandText. is it the only way the i must do with the ICommandText interface myself i tried to use ICommandText::SetCommandText to set up this command,   select * from authors where state=@state , and it returns S_OK. then i tried to use ICommand::SetParameterInfo to set the parameter info, and it also passed. to use Execute(), a DBPARAMS* is required to pass in the values of parameter, i use the following code to set the DBPARAMS::hAccessor, but failed struct Param{  PWSTR state; }; ...Show All

  • Visual C# Clearing contents of multi line textbox

    I have used List < string > lines = new List < string >(); to populate multiline textbox line by line _form2.textBox3.Lines = lines.ToArray() Now i want to delete all lines of this textbox; I have 2 questions: 1) how do i clear contents of lines list as if lines where just declared 2) how do i clear contents of textbox3 1) To clear the contents of the lines list, do this: lines.Clear(); 2) To clear the contents of the textbox, do this: textbox3.Text = ""; ...Show All

  • Windows Forms OpenFileDialog "hangs" on Windows 2000

    I have a WinForms remoted application using a simple OpenFileDialog control.  When I instantiate the dialog, the program hangs and never responds.  This only happens on Windows 2000.  The program functions perfectly on Win XP & Win 98.  The user is running the program as a local Admin, so Code Access Security should not be a problem (it s ...Show All

  • Visual Basic check textbox lenght

    How do I check textbox lenght in vb.net 2005 this wont work me .MyTextbox.Lenght < 13 then messagebox.show("test") Well, I see two problems with this code. One, you mispelled 'length'. Two, you don't have the word 'if' at the start. Perhaps you have those in your code and not in your example, the fact that you don't define 'this won't work' makes it hard for me to tell. However, if you make those two changes, it will most certainly work. ...Show All

  • Windows Forms Redraw perf problems with custom controls

    When making large controls that can draw quite a lot of data at once (when scrolling up and down) is it best to move over to DirectX because come of my clients are getting out of memory errors when they do large searches (see the link for a screen shot of the control). I can’t see t being a problem with my code as i have gone through the entire thing tweaking it, as far as I can tell its when the users scroll up and down a lot. This causes the control to redraw what it needs and get rid of everything that no longer needs to be drawn, however when they scroll up and down the garbage collector cant free up the resources fast enough, I’m th ...Show All

  • Visual Studio Express Editions Could someone recommend a good book for VB 2005?

    I'm new to programming and this is the language I've choosen to start with. Could someone suggest a good book to begin with Myself I can not image anyone Learning this trade without First taking a few Formal Courses in this Area.... But if You are Really Smart(Cgraus) you can Do It..... These are Free Movies Not Books... http://msdn.microsoft.com/vstudio/express/vb/learning/default.aspx http://msdn.microsoft.com/vstudio/express/visualCSharp/learning/ Down load all the Movies from each Link and watch all several times... After the Experience You Will be were You want to Go..... The Second Link Will Serve you to Understand the ...Show All

  • Visual Studio Team System VSTS Architect vs. VSTS Developer

    With he proposed changes in MSDN subscriptions and Visual Studio licensing, I now have to make a decision between VSTS Architect and VSTS Developer. As I understand, MSDN Universal subscribers will have a choice - they can either go for VSTS Architect and VSTS Developer. I believe that I need both architecture and development tools. Which out of two should I go for The information was interesting but too high-level to be really useful or answer the questions I feel most developers have. I hope you folks will be releasing something with a bit of meat on it like a feature by feature breakdown of what is included in each edition in t ...Show All

  • Smart Device Development NumericUpDown Select All? How can I do this?

    Is there a way I can select all in a numericupdown As in cause it all to be highlight/selected I'm assuming this is a PInvoke Thanks! Check out this link. This should help you out. ...Show All

  • Visual Studio Feb Update: Fast Track MSHelp2 VS2005 Integration TestCase/Lab

    Hi Friends, Several new sections have been added to the project: Uninstall section : Uninstall the MSHelp2 project namespace and then the MSHelp2 application itself Appendix section : Decompiling a standalone .chm to retrieve the .hhp file Acknowledgements section Also, the project is now available in .pdf format. The source files ( Download CHM version with help source ) can be downloaded from Microsoft Help MVP Rob Chandler's Helpware FAR website: http://helpware.net/mshelp2/frank/help2.htm Please feel free to use this TestCase/Lab to experiment with MSHelp2 Conversion and Integration. My thanks and ...Show All

  • SQL Server Using Sql Express databases with Windows Forms applications

    Hello all, I would like my newly converted to .NET 2.0 Windows Forms application to use an Sql Express database instead of MSDE. Previously, development was done on the default SQL Server instance using the full SQL Server 7.0. When deployed, MSDE was used with a named instance. The connection string in the application settings needed to be modified as part of the deployment. Now I've converted to .NET 2.0 and to Sql Server 2005, and/or Sql Express. What I'd really like to do now is have a project within my solution that, when built, creates the database by running scripts, and deploys that database to the output directory of the exec ...Show All

  • Visual Studio Team System Problems in mapping fields into project

    I created new fields for my own work items, but I am having problems when I try to map these fielsd into project. When I create a new team project, based in my template process, I get an error. Please, anyone knows how I can change my mapping file in a good way Hello Hugo, Send us the mapping file and the error you are seeing when creating the team project. Did you use the tfsfieldmapping tool to map the fields to MS Project Thanks! ...Show All

  • Visual C# MS ReportViewer 2.0 Control Print Bug/Issue

    The first attempt to print a report by clicking the print button on the MS report viewer icon does not print. Subsequent clicks will print the report! This is happening on all computers the application is deployed to. I look at the print queue and I see that the job is spooled and I also get the taskbar notification. I have tested numerous other applications and all print on first attempt. Is this a known problem or is there a workaround Thanks in advance, Ashkan As i can see in the other thread, this are two known bugs by Microsoft. You can vote for these bugs here: Bug Details: Report viewer "p ...Show All

  • Visual Studio Copy Task - Illegal characters in path

    When I look at the output from this task everything makes sense except the error.  Running the copy command from the command line works properly and there are no obvious security ACL issues.  Any thoughts on what might be triggering the "illegal characters in path" error Task "Copy": Copying file from "C:\Projects\Common\trunk\bin\debug\*.*" to "R:\Common\2.0\45\debug\*.*". Command: copy /y "C:\Projects\Common\trunk\bin\debug\*.*" "R:\Common\2.0\45\debug\*.*" C:\Projects\Common\trunk\MSBuild.xml (177,3):  error MSB3021: Unable to copy file "C:\Projects\Common\trunk\bin\debug\*.*" to "R:\Common ...Show All

  • Visual C# The new IntelliSense feature is fantastic!

    The new IntelliSense feature is the answer to a prayer. As much as I like C#, I always wished for an IDE option that would make it a little more like VB in one particular way: variable name case insensitivity. Under VB, if I declare a variable called “ MyVar ” I can subsequently type it as “ myvar ” and VB will automatically correct the casing as soon as I hit the space bar or enter key. Not only do I not have to go to the trouble of holding down the shift key, I also get immediate feedback as to whether I spelled the variable name correctly. That always seemed like a huge advantage in terms of improving everyday productivity. By making ...Show All

  • Visual C++ Linker error when calling legacy DLL methods with CString arguments

    I am developing a C++ application in Visual Studio 2005 that needs to call methods in a legacy MFC DLL that exports a class with CString arguments in its public methods. The legacy DLL is compiled in Visual Studio 6 and I don't have the source files for it so I have to use it as it is. My problem is that I cannot link with the DLL. When I call one of the methods having a CString argument I get this linker error: error LNK2019: unresolved external symbol "__declspec(dllimport) public: static bool __cdecl DFUEngine::IsDFUFileValid(class ATL::CStringT<wchar_t,class StrTraitMFC_DLL<wchar_t,class ATL::ChTraitsCRT<wchar_t> & ...Show All

©2008 Software Development Network