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

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

cheston

Member List

Samer Selo
Wendell liu
aspencergb
HellsChicken
iortizvictory
AlucardHellSing
bvanderw
baskark
Bill Poole
Gavin Clements
Matitude
Alvin Kuiper
danych
De Cowboy
PiaMaria
Bendas
kpmkhaja
PARVAIZ
Greg Blotzer
OLE72
Only Title

cheston's Q&A profile

  • .NET Development problems importing data from XML

    Hello, Sorry not having written a more detail Subject for this topic, but i dont know how to explain it in so few words! I'm developing a pocket pc application, which is using a database also used on the desktop computer, and both apps exchange data using export and import functionalities. I've done this once with no problems, but this time there is a different person developing the desktop application, and i'm having problems reading the xml from the exported file. Taking a quick look at xml file i'm trying to read, i can only see one cause for this problem: Instead of specifying the various elements like <table> <row1> <atr1> <atr2> <row2> etc.... its is ...Show All

  • Windows Forms ListBox databinding - adding items in a loop

    Hi, I've come across an issue, and I can't figure out why it's behaving like this. I have a ListBox that is whose DataSource is a BindingSource, the BindingSource's DataSource is a business object I can add individual items, one at a time, just fine. If I attempt add items in a loop (foreach or for...), the very last item added does not show it's text. The item is there, just with empty text. If I iterate through the ListBox.Object collection, I can see the text just fine. Why would the last item to be added not show it's text Thanks, Mike Taking a tip from someone else, I reset the .DataSource of the ListBox right after adding a new item, and it works fine. Mike ...Show All

  • .NET Development TimeSpan data type in DataTable.Select

    Hello, I need to filter a data table based on TimeSpan values in a column Is there any one who could help me on the syntax to use I have tried the following: ColName<='10:00:00'  =>Error : Cannot perform '<=' operation on System.TimeSpan and System.String ColName<=Convert('10:00:00',System.TimeSpan) =>Error : The String '10:00:00' is not a valid TimeSpan value The following works about the syntax but gives wrong results Convert(ColName,System.String)<='10:00:00' So, what is the right expression   Thank you for submitting the bug report bhv...I have voted To all other forum participants please take the time to place your vote: https: ...Show All

  • SQL Server How to create an event driven shared schedule

    We have a number of jobs that run nightly. Typically these complete long before the shared schedule runs. However, when they do not complete in time, we need to stop the shared schedule from running. How is this accomplished I have seen that it is possible to create event driven subscriptions but am not sure this accomplishes the same thing. Basically, I need to pause the shared schedule if a particular job has not completed successfully. Then, I need to run the shared schedule once the job has completed. None of the reports we are running are snapshot based. Would moving to this method resolve the issue Any help is greatly appreciated. I had the same issue. What I did was kick off the subscription SQ ...Show All

  • Internet Explorer Development ActiveX file save dialog blocked by pop-up-blocker

    Hi all, I have this ActiveX that upon the user pressing a button raise the Microsoft Common Dialog to save a file. In IE 6, this works like a champ. With IE 7 the dialog is consequently suppressed by the pop-up blocker mechanism. The funny thing is that it is consistent, even if I turn of the pop-up blocker. The yellow bar still appears in the the top of the ActiveX on the web page. Is this a known bug in IE 7, is there a workaround to this Thanks, Cheesle I know of this yellow strip "Press spacebar...", but I never get this here. Only the message about the pop up blocked. Good to know I am not alone though. :-)   Regards. ...Show All

  • Visual Studio Team System Manually modifying vsmdi files

    Hi all, Right now I would like to run tests with a team build file. To do that, I think I need to modify my build so that the value of runtest is true and the tests in vsmdi that I want to run are specified. Here's the question: since I don't have the tester edition of VS, it becomes really confusing as to how to specify the tests in the test list (vsmdi). I think I would have to write the xml code, but I am not sure if that's true and how I would be able to do it. Thanks I'm really interested too... -- Lorenzo Barbieri MVP Windows - Virtual Machines, MCT, MCPD Web&Win, MCITPro DBA, MCTS Web,Win,Dist,Sql IT: http://www.geniodelmale.info EN: http://www.lorenzobarbieri ...Show All

  • Windows Forms Slow Form Rendering

    Whenever I have 100+ controls on a form, the render speed is very slow. Even on a fast machine, I can still see the controls being drawn on the screen. Is there a way to freeze the screen and unfreeze it after everything is finished render Or is it a problem with the CLR and nothing can be done I suggest not to load that much controls, but apply some form paging logic. Display only controls that can be viewed then use a scrollbar or a spincontrol for navigation. Your problem is very similar to Document-View programming. ...Show All

  • Visual Studio Team System Problems when moving from Beta3 refresh to RTM version

    Hi all, I've now worked with the source control part for quite a while in the Beta 3 refresh version of TFS. Now we're upgrading to a released version and want to restore our work on new HW. Both the Beta installation and the new released version are single-server installations that belongs to the same domain. I've followed the instructions 'How to: Move Your TFS from one HW configuration to another'. Here's the link: http://msdn2.microsoft.com/en-us/library/ms404869.aspx 1. The first problem I get into is when I move the service accounts using command: tfsadminutil ChangeAccount domain\tfsservice domain\tfsservice I'll get messages that changes were made to application pools 'TFS AppPool', 'TFSWSS' and 'TFSWSSADMIN', b ...Show All

  • Visual C# Windows Service Problem

    Hello, I’m hoping someone at MS can help me. I’ve created a C# Windows Service project whose service main function instantiates a class library that spawns a new thread to create a new process with which to launch osk.exe (the Windows on-screen keyboard). The purpose for creating this service is to have the on-screen keyboard appear immediately after startup (before the login screen) on a system that will have no keyboard hardware. I had first built a test program (C# console application) to call the class library and test its functionality and it worked fine. Then I created the Service Project including its installer classes and installed the service with installutil. [Incidentally, all three projects—the class ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Again - C++ DirectX Error

    Hi, i moved back to the C++ due to .Net memory management( slow down my app), anyway.... i recompiled the DirectX's C++ examples (October 2006 SDK) and when i run the examples a error ocurs, in the tutorials(No DXUtils) the error location is more evident: *this error code is from the Vertices tutorial. The Error: Unhandled exception at 0x6604a92f in Vertices.exe: 0xC0000005: Access violation reading location 0x00f2b000. The Location: LRESULT WINAPI MsgProc( HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam ) { switch( msg ) { case WM_DESTROY: Cleanup(); PostQuitMessage( 0 ); return 0; } return DefWindowProc( hWnd, msg, wParam, lParam ); The error appears at the end of this function . (green arrow in debugger....) -> ...Show All

  • Visual C++ Make QuickWatch window resizable

    Please, make the QuickWatch window resizable. With long variable names or values, it is impossible to read. A related improvement would be to set the column widths to match the column contents. This wouldn't solve the long width problem, but would help. Here is what I get, every time: Sign In to Microsoft Connect The Microsoft Passport Network is unavailable from this site for one of the following reasons: This site may be experiencing a problem. The site may not be a member of the Passport Network. ...Show All

  • Visual Basic I can't check for updates for VB 2005

    Hello I know that we can check for updates for VB 2005 via Windows Update. But when I check for updates via Windows Updates, it doesn't display VB 2005 updates; it just displays Windows Updates. What's problem Thanks ahmedilyas wrote: because there are no updates :-) SP1 was released a little while ago for VS2005.... http://msdn.microsoft.com/vstudio/support/vs2005sp1/default.aspx I've installed SP1. Are there no updates except SP1 ...Show All

  • Visual C# for loop that works with seconds

    hi how can i make a for loop that increments by 2 seconds i have two for loop nested one inside another and each one will increments by 2 seconds for( start and iincrements by 2 seconds) { if(..){} else { for(start and increment by 2 seconds) {....} } } I'm not too sure I understand you question, but if you are wanting to make something 'sleep' or 'wait' for 2 seconds look into using the following: System.Threading.Thread.Sleep(2000); // This will sleep for 2 seconds Hope this helps. ...Show All

  • SharePoint Products and Technologies Developing ASP.net applications (within sharepoint)

    Hi, I would like to develop a (custom) ASP.net application and host it within Sharepoint, of course with the masterpage provided by sharepoint. Now it's quite easy to create a ASPX page within sharepoint (via sharepoint designer). It's also easy to just copy and paste ASP code in that file. Works fine. Serge van Oever has a nice blog posting ( http://weblogs.asp.net/soever/archive/2006/11/09/SharePoint-2007-_2D00_-_2F005F00_layouts-and-how-to-create-pages-that-run-in-site-context.aspx ) about ASPX and code behind files within the sharepoint content. This works, but of course you don't get the great masterpage system provided by Sharepoint and SharePoint designer. VSeWSS CTP is out, tried that, works but only once (still ctp, so... ...Show All

  • Visual C++ How to find similar or matching word?

    How to find similar or matching word For example i have a string, string 1 = cat IF  "ca" match with string1 or this two char "ca" is inside the string1, then it will return true if i use string1.Find method, it match only the same case string, how to make it ignore case or is there any other method to do A trick I've used in the past was to convert the string and the search term to upper case before searching/comparing... ...Show All

©2008 Software Development Network