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

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

Sjako

Member List

Grant Holliday
haridorai
Tejas_Kishanwala
Bill Reiss
RostaB
Darren Tao
YA say hello
mrotoloni
profesacutz
BilalShouman
Martin Steiner
i-developer
fettoter
JonesAtl
Dale Mumper
Grant Holliday
Uğur Gümüşhan
outcast1881
eman1975
Rick_ETF
Only Title

Sjako's Q&A profile

  • Windows Forms DataGridView CalendarColumn example doesn't handle keyboard input

    Hey all- I have a DataGridView in which I wanted to host a DateTimePicker, so I used the example from: http://msdn2.microsoft.com/en-us/library/7tas5c80.aspx Has anyone gotten this example working properly for keyboard input It works great when you use the mouse, but under certain circumstances the value from the editing control doesn't get back into the datagridview. To reproduce: Enter the date cell with the mouse Type a new month with the numeric keys only Hit Tab or enter to leave the cell. Now, the above works fine if you leave the editing control with the mouse, or if you use the up/down arrow keys to change the month value. I did some debugging in the editing control, and it appears that if the fo ...Show All

  • Visual Studio Team System How to segregate multiple TeamBuild projects?

    We are currently at a certain version (1.2) and have multiple solutions, all which need to be built separately. So I have a separate TeamBuild for each. But once we move to next version I will have to recreate the TeamBuild project files for each of these solutions. The TeamBuilds node in Team Explorer will be extremely cluttered with all these projects. Is there any way to create a folder beneath the 'Team Builds' node in Team Explorer so I can group my builds by version Also, how do I delete an existing TeamBuild project TIA! DQM, We use the Main-line of source control for our current version. We have a Team Build for each "significant" componet that may need to be built in Main, similar to your situation. When we ne ...Show All

  • Visual Studio 2008 (Pre-release) Why Avi play failed when i change the parent of MediaElement

    Hi all i want to change the size of my video, so i have two Viewbox,viewboxA is 400x400 and viewboxB is full screen. i put my mediaelement in a grid(g) and put g in viewboxA,when i double click on g, i remove it from viewboxA and put it into viewboxB, and double click again, i move it back to viewboxA. That's all i want to do.There is only one problem: After i removed g from one viewbox to another, the mediaelement failed, and a few seconds ( sometime soon and some time long, depends on the size of the video file) later, the mediaelement replays automatically. the fail information is like below: e.ErrorException {"Exception from HRESULT: 0xC00D11CD"} System.Exception {System.Runtime.In ...Show All

  • Visual C# string vs. String / double - Double / etc.

    Hi there, I'm currently struggleing with some details: s tring vs. S tring I found this : "The string type represents a string of Unicode characters. string is an alias for String in the .NET Framework" ( http://msdn2.microsoft.com/en-us/library/362314fe.aspx ) And this : A string is a sequential collection of Unicode characters that is used to represent text. A String object is a sequential collection of System.Char objects that represent a string. ( http://msdn2.microsoft.com/en-us/library/system.string.aspx ) So what is it Is the the same or, not s tring s = new s tring(System.Char* value); S tring  S = new S tring(System.Char* value); s tring s = "hello"; S tring  S = "hello"; So I would say string and Stri ...Show All

  • .NET Development how to exit from listening udp

    i have a thread like this while(flag == 0) { receiveudp... //process } if another thread set flag to 1,this thread will exit,but if no other thread set flag and no packet receive from net ,it will wait on "receive" and can't test flag any more how can i solve this because if this thread doesn't exit,static udpclient will not exit,and the process will not exit and if i abort this thread ,it popup a message how can i solve this problem about close udpclient and exit a thread thanks... If you want to close down the app and exit the loop gracefully, you would need to 1. set the flag var 2. close the socket. Closing the socket will cause the read operation to complete ...Show All

  • SQL Server Easy NOOB question

    Hi, I'm trying to pass a parameter into a procedure and not getting the results I want.  There's probably better ways to write the procedure, and if you want to suggest one, that's ok, but I'm most interested in just getting the stupid thing to work.  I'm trying to search a bit field in a table with the bit field being the parameter that isn't working.  In the code I include below, @category is the parameter that isn't working.  For this case, "category" is a bit field in a table and I want to be able to pass in different fields and find out if they're set.  When I use the parameter @category, the result isn't right.  If I hard code the field name (for the case below, "Compensation" is the DB field name), i ...Show All

  • SQL Server Please Help Immediately...

    Hello everyone... plzz help me,im getting this error whenever i want to connect my pc with another remote pc which i've designated as Server and my database is saved there so i want to connect my pc with tht remote pc and save data entered by my pc to that remote pc's database... but i get this error....PLEASE HELP IMMEDIATELY... Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. (.Net SqlClient Data Provider) ---------------------------------------- For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=-2&LinkId=20476 ---------------------------------------- Error Number: -2 Severity: 11 State: 0 ...Show All

  • .NET Development ContextSwitchDeadlock, debugging CLR errors, addresses?

    Hi, I have a VS 2005 win forms app (VB) that gives me: The CLR has been unable to transition from COM context 0x1a1d80 to COM context 0x1a1ef0 for 60 seconds. The thread that owns the destination context/apartment is most likely either doing a non pumping wait or processing a very long running operation without pumping Windows messages. This situation generally has a negative performance impact and may even lead to the application becoming non responsive or memory usage accumulating continually over time. To avoid this problem, all single threaded apartment (STA) threads should use pumping wait primitives (such as CoWaitForMultipleHandles) and routinely pump messages during long running operations. My app has a system timer ca ...Show All

  • Software Development for Windows Vista Windows cannot load the device driver for this hardware. The driver may be corrupted or missing. (Code 39)

    I installed Daemon Tools on Windows Vista Business. The result was that my CDrom went dead. System Restore hasn't helped. Then CDrom properties reveals this: "Windows cannot load the device driver for this hardware. The driver may be corrupted or missing. (Code 39)" If you update driver, you get " Windows has determined that the driver software is up to date" I have the same exact problem and i've tried all steps you mentioned, still the problem remains. I have 64-bit Vista with Tsstcorp CD/DVDW TS-L532M ATA. Any ideas ...Show All

  • Visual C++ Upgradation to Visual Studio 2005

    Hi All, We are migrating our application from VS 6.0 to Visual Studio 2005. We are planning to change the APIs marked deprecated like strcpy etc to their security enhanced counterparts like strcpy_s etc. I would like to know whether .NET Framework 2.0 is needed to be installed on client machines to be able to use the security enhanced APIs or these APIs can be used without it also Looking forward to your responses. Thanks and Regards Zion I don't have such link. For your manager, you can add some string safe function to the program, and run it on computer without .NET Framework. Notice that computer must have VC++ 8.0 runtime libraries installed. You can open such program in the Depen ...Show All

  • Visual C++ partial serialize/deserialize a structure

    Hello everyone, I have a large number of strcture instances, the I can not have all of them in memory. So I have the idea of serialize/deserialize partial of them to/from disk. The operation I need on these structure instances is to enumerate elements one by one, and I want to provide applications which use this interface to enumerate elements be transparent to how and which parts of structure instances is written/read to/from disk -- and the application only will feel read from memory. I am wondering whether there are any samples/tutorials to make a reference thanks in advance, George (I think this is called "Transparent C++ Persistence". I know that a solution is provided by http://www.objectstore.com ...Show All

  • SQL Server Copying variables from another package

    HI, we have something like 120 packages that need to be "upgraded" to a newer version of a template. Basically, we need to add a bunch of variables of various types (12-15 variables). Is there a way to open the package in a script task and add those variables programmatically Or is there another way to do it (e.g. modify the dtsx file) Thank you, Ccote HI Jamie, I have been able to achieve something interesting by using a script component with the test code below: Public Sub Main() Dim application As Microsoft.SqlServer.Dts.Runtime.Application = New Application() Dim packagename As Object = Dts.Connections( "ChildPackage" ).AcquireConnection( Nothing ) ...Show All

  • Windows Live Developer Forums MSN Add-In developer info

    After writing a couple small msn add ins for fun I though I'd share some of the things I've learned from this. Security Unless an addin is signed with a strong name key and loaded into the global assembly cache it will run with very restricted access. E.g the permission set "Internet". Error codes: 8013150A = An error relating to security occurred. ( COR_E_SECURITY ) More info about how strong naming works can be found here . Sending Messages (Limitations) You can only send messages in the IncomingTextMessage event. And only to the person who sent you the message. This means you can't have for example a timer sending out a message to someone every X hours. Or forwarding all messages from Bill to Bull Error codes: 810003DF = Attempt sen ...Show All

  • Windows Forms Placing Shortcut That Can Be Accessed by All Users

    Hi ! I have created a Setup and Deployment project to install my application. I have a help file that I deploy into the Application folder which is under 'Program Files' folder and I place a shortcut to it in the User's Program Menu under a folder. The installation is done by the Administrator and the application is installed for 'ALL USERS'. Everything else is fine but when some other user logs on to the system and tries to access the help file from the User's Menu by accessing the shortcut, the help file does not open. Instead the application begins to reinstall somehow from the original location. I would like the help file to be accessible to all users. I know there is an option to use 'Custom Folder' during setup in the 'File Sys ...Show All

  • SQL Server Subreport with a matrix

    Hello, I got a report with a landscape format, and inside it i got some subreports, but two of them are subreports with matrixes. Those two subreports are making the page to be printed into 2 pages, but the second page is always empty, is there a bug, a misconfiguration or misusage of the subreport Because instead of having 42 pages i will have two times more. How can i avoid this Using borders i noticed that it is the subreport that grows much more than when it is generated individually, since individually it fits in one landscape page, as a subreport it needs 1, 5 that makes it 2 pages, and the last one always empty Thank you If it was that simple i wouldn't ask. I do resize the sub report within a landscape size, an ...Show All

©2008 Software Development Network