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

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

Trashey

Member List

John Oliver (UK)MSP, VSIP
ANB_149
Douglas911
Lemus
AndrewBadera
cpdeepak
chaza
elgor
Tomas Galvez
AlexBB
Kikkoz
Sarwanan
olgaF
is98
wanderingbob
george maina
Troy L
mamo
ReneeC
koosha
Only Title

Trashey's Q&A profile

  • Windows Forms Problem somewhat solved

    I'm running into this same problem: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=356806&SiteID=1 Databinding seems useless. The idea of the disconnected data model is a really difficult process, mainly because of relational databases. Many of my tables have identities, and if multiple people are hitting the database at once, there is no guarantee that the identity generated in your datagrid is going to be the same when you actually submit the in memory dataset to your database. This makes it a real pain to update related records. Can anyone shed some insight on complex databinding with identities and relationships Perhaps, someone has some good documentation on some methodologies used to create windows forms applicati ...Show All

  • Visual Basic Timeout on first load with SQL Express

    I have an application that on the first boot, almost all the time, it will give a timeout error for the database. Has anybody else had this problem, and is it possible to fix Thanks! Hi Dave, I have the same problem too, and although I don't really know the cause/solution, I work my way around it. I don't think it is the cause of an Antivirus/Firewall program. I've tried it on my machine (with AV and Firewall) and on my parents machine (without). And both had the same error. On my form which needs a SQL Express connection, I use Try - End Try. In the catch section I place the whole thing again like: Try 'The Code for the adapter here: Me.MainTableAdapter.Fill(Me.LogbookDataSet.Main) C ...Show All

  • Windows Forms Slow in form display

    Is there any method to speed up the display and rendering of Windows Form In my application, my Windows forms containing around 50~150 controls. There are also some navigation button to hide one form and display another one. The delay occur during form showing up. As I'm developing a POS, such kind of delay is not preferable. Is there any workaround to speed this up Thanks for your suggestion. I will try to remove some labels and make use of the Paint event. However, I got a lots of buttons in my Windows Form. How can I fix them I don't think it's wise to paint the button by myself as I'll lose a lot of default UI behavior (I mean the outlook). Meanwhile, will it hard to manage a Windows Form with both control and custom Paint event ...Show All

  • Smart Device Development The remote connection to the device has been lost.

    Hi, I get the following message when I run my application on my pocket P.C. It happens randomly. Sometimes it works fine. Other times I get this message. I am not using any breakpoints. At the moment it is happening when I try to add data to a database from information got from a form. The con.executenonquery line causes this error. "The remote connection to the device has been lost. Please verify the device conection and restart debugging" Does anyone know why this happens, and if so, how to fix it Michael I'm having the same problem. It is occurring both when using an emulator and when using a Pocket PC via USB. The strange thing is that it is occurring when I try to connect ...Show All

  • SQL Server Microsoft SQL Server sq

    I took over a website for another consultant. This web site has a sql server database. I can ftp my programs to the site and run them, but I am not sure how I look at the data on the server database with Microsoft SQL Server Management Studio Express. How do I tell smse where the database is located Thanks you would simply enter the IP address of the server the runs the site (and presumably the sql server). 2 things you might have problems with.... (1) is the server running Sql Server 2005 (Express) (2) if you still cant connect its possible that there is a firewall in the server that is blocking the connection. ...Show All

  • Windows Forms Create the Drop-Down List of Controls in a Properties Window like VS

    I've create a windows forms designer using the MSDN sample: DesginerHost. In this designer i've a PropertyGrid control working fine. Now i need to add a Drop-Down List for contains the names of all the controls that i put in the desginer, so like VS Designer, when i select a control from the drop-down list, the designer show me this control selected and its properties in the PropertyGrid. I've tried to implement that, but i've some problems. Does someone have an example or same advise of how can i implement this Thank, Gabriel ...Show All

  • Silverlight (formerly WPF/E) Allow Drop

    Now attribute Allow Drop not working in the any UI Elements. (1:171) Attribute Error Hresult: 16389 Did You plan implement this feature Can I use drag files into Wpf/E application in the future I want to implement application to smart upload files like this implemented on Java: http://www.radinks.com/upload/applet.php thanks for your job. No, we do not have any current plans to have an allow drop feature (ability to drag/drop files into WPF/E). -mark Program Manager Microsoft This post is provided "as-is" ...Show All

  • Visual C# Delete Access Denied!!

    I'm using the codes below trying to delete files and I got an error that say I'm trying to delete a file that still being used by another process. Please help me how to check which files are being use and skip over that and delete everything else. Here is my code so far, thanks in advance. foreach (DirectoryInfo Dinfo in dirInfo.GetDirectories( "*" )) { foreach (FileInfo file in Dinfo.GetFiles( "*.*" )) { try { file.Delete(); } catch (FileNotFoundException e) { Console .Write(e.FileName.ToString()); } } } Thanks Jason H ...Show All

  • Visual Studio Express Editions Reinstall help files?

    I recently installed two additions to VSC#2005EE: 1) The Service Pack 1 2) The .NET 3.0 (aka WPF), which created some new templates I'm not certain which one was responsible, but one of these two deleted most of my help files by way of 'merging' them. Since I'm offline more than I'm on, and I loved my original local store of help files, is there any way to get them back short of complete removal & reinstall (No, I don't want to change to online help. I need to be able to access it wherever I have the laptop at that given time/day. I've tried specifying 'local help first', but most of the index and content is just gone.) Okay, I figured it out. By accident, I ran across this page in the index: Visual S ...Show All

  • SQL Server Programmatically Data Conversion component creation

    Hi there, I have created a package which simply imports data from a flat file to a SQL Server table. But I need to incorporate a data conversion component by which I may change the source-destination column mapping programmatically. So what I thought that I need to add a data conversion component into the dataflow task. After adding this component (I found its component id as {C3BF62C8-7C5C-4F85-83C3-E0B6F6BE267C} ) I have created a path which establishes the mapping between output columns of source component and the input columns of data conversion component. Now I am not sure how to establish the mapping between the data conversion component’s input column collection and output column collection. I am giving my code snippet her ...Show All

  • Visual Basic Progress Bar with unknown maximum value

    Hi, I have an application that writes data from PC to a 8052 microcontroller's Flash. It takes an accountable amount of time.I want to show a progress bar for the same but i cannt quantify the time(time it takes to complete writing all bytes to the falsh).I have an idea on progress bars with minimum and maximum limits known.I would like to know for unknown situation like my application Can anyone please give me kick start tips for the same. Regards, Swapna You'll only see the marquee if your using 2005. http://msdn2.microsoft.com/en-us/library/system.windows.forms.progressbar.style.aspx Setting the Style Property and showing the progressbar will result in the marquee. ...Show All

  • Visual Studio Express Editions OpenGL unresolved tokens

    Hello, I'm trying to compile an old openGL project in Visual C++ Express edition, but I get a zillion unresolved token errors for opengl functions. I won't list them all because they all seem to be related, but here are a couple: error LNK2028: unresolved token (0A0000BA) "extern "C" void __cdecl glLoadIdentity(void)" error LNK2019: unresolved external symbol "extern "C" void __cdecl glViewport(int,int,int,int)" I have installed Platform SDK, following the instructions at http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/ I have installed opengl, following the instructions at http://www.css.taylor.edu/~btoll/resources/graphics/opengl/xp/visualc.html I have glu32.lib,glut32.lib,opengl32.l ...Show All

  • Visual Studio 2008 (Pre-release) Hosting xbap in a non-asp.net web site?

    Since it's a client technology, it seems viable that a xbap could be host in a non-asp.net (such as FreeBSD host)web site only if I added the MIME types. Is this true How can I do this Thanks! It seems like .exe also has to be added as a mime type on the server Otherwise I get: APPLICATION SUMMARY * Online only application. * Browser-hosted application. ERROR SUMMARY Below is a summary of the errors, details of these errors are listed later in the log. * An exception occurred while downloading the application. Following failure messages were detected: + Downloading http://clientdev/Demos/Dev/test.exe did not succeed. + The remote server returned an error: (404) Not Found. ...Show All

  • Software Development for Windows Vista TrackingDataItem data_str nor data_blob are populated

    I get records inserted into trackingdataitem but test_v does not have data_str nor data_blob populated. it's a string variable and it is set while in webresponseactivity executing sendingoutputactivity code this is state machine workflow and i'm using webservices autogenerated from the workflow designer. this is my trackingprofile. it is saved in dbo.trackingprofiles with the highest version for this workflow type. < xml version="1.0" encoding="utf-16" standalone="yes" > <TrackingProfile xmlns=" http://schemas.microsoft.com/winfx/2006/workflow/trackingprofile " version="1.0.3"> <TrackPoints> <WorkflowTrackPoint> <MatchingLocation> & ...Show All

  • .NET Development What is the 3.0 runtime going to look like?

    I'm looking at (and have installed) the RC1 of .NET 3.0 and it seems empty. Are LINQ, ADO.NET Entities, WCF, etc.. all shipping as individual libraries / downloads or is this just how it is for pre-release so each project can release betas as needed I've been looking around for a good explanation of "what versions of everything to download" and I haven't been able to find anything. Right now I can't seem to build ADO.NET Entity projects that use LINQ because of version dependency problems, and there seems to be a project-type in Visual Studio for each library I plan to use. What do I pick if I want to use multiple libraries I can understand keeping everything seperate during development but I would have expect ...Show All

©2008 Software Development Network