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

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

RyanSmith

Member List

Olafdebree
dpuza
budzombie
Randy_I
CaravanBill
Eric-NZ
snaill
marcotoon
Leonid-NSK
Hrishikesh Biniwale
CarolJ
Leoyoo
paopaop
lschiedel
Blackice
kchan9999
Techy
mms18
RyanT5000
Anurodh
Only Title

RyanSmith's Q&A profile

  • Visual Basic How to keep GUI responsive during DB query?

    All right, here's the question...while loading large amounts of data, or querying a DB, my GUI hangs...that's to be expected with single-threaded apps.  So what I did is I created a borderless form with a picturebox that has the animated GIF of the progress bar scrolling back and forth, along with a label that gives you a message like "Please wait while the query executes..."  I show the form before I call a method that's going to take a while to execute.  Of course, the problem is that while the method is running, the app no longer refreshes the animated gif, so my little "Please wait" dialog is essentially useless.  I t ...Show All

  • Visual Studio Express Editions TableAdapter.Update does not save data

    How can I save data entered in a dataset via the UI I tried the code suggested in the "VB Guided Tour", Private Sub Form1_FormClosing( ByVal sender As Object , ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me .FormClosing Me .AddressesBindingSource.EndEdit() Me .AddressesTableAdapter.Update( Me .SQLdbDataSet.Addresses) End Sub but all changes are lost when I restart the application. Thanks. I have the same problem in C# even if you don't use a tableAdapter but a sqlCommand object instead.  Though affectedRecords reflects the correct rows affected. ...Show All

  • Visual C# Multiline strings?

    My second question of the morning ;-) I have a snippet of code that I'm using to create a .sln file for a bunch of .csproj files. The snippet works well enough but it strikes me as being rather clumsy. Is there a better way to create a multiline string than to use an array and string.Join Regards, Angus string[] slnTemplateArray = { "Microsoft Visual Studio Solution File, Format Version 9.00", "# Visual Studio 2005", "{0}", "Global", " GlobalSection(SolutionConfigurationPlatforms) = preSolution", " Debug|Any CPU = Debug|Any CPU", " Relea ...Show All

  • .NET Development differences between net framework 1.1 and 2.0

    Are they similar enough that my Visual Basic .Net Core Reference is still worthwhile to consult on inheritance, collections and arraylists dennist Hi, If you consider the fact that .NET 2.0 introduces "Generics", you probably would not find the book you have to be of much help. There is a separate namespace called System.Collections.Generic as well - lot more stuff than what was already there. Generics: http://www.ondotnet.com/pub/a/dotnet/2004/05/17/liberty.html Regards, Vikram ...Show All

  • Visual Basic upgrading winform that contains a usercontrol: it faield to upgrade most of my properties

    eg, the VB6 form code is something like; VERSION 5.00 Begin VB.UserControl BCcsClientSelect : : Begin R5Controls.R5Display Ccs_Cd_Company_Ref FieldType = 1 FormatString = "!>@@@@@@@@" ForeColor = 0 TextLength = 8 UpperCaseOnly = -1 'True FieldName = "Ccs_Cd_Company_Ref" BorderStyle = 1 KeyField = -1 'True Hint = "Company account ref (/ for list)" Height = 315 Left = 1335 TabIndex = 1 Top = 405 Width = 1200 End but this gets converted to: Me.Ccs_Cd_Company_Ref = New R5Controls.R5Display : ...Show All

  • Visual Studio 2008 (Pre-release) WinFX beta 2 is there

    Go and get it http://msdn.microsoft.com/windowsvista/downloads/products/getthebeta/default.aspx I've downloaded the runtime and Visual Studio extensions, but when click the link to go to the SDK download page I get the following error: "The download you requested is unavailable. If you continue to see this message when trying to access this download, go to the "Search for a Download" area on the Download Center home page." ...Show All

  • Visual Studio Team System [OT] Security Attribute question

    FxCop advise me to assign some security to my library, with this warning: http://www.gotdotnet.com/team/fxcop/docs/rules.aspx version=1.35&url=/Usage/AssembliesShouldDeclareMinimumSecurity.html I should confess that I have little knowledge about this, never done it before. And I face the following conundrum: On one hand my component won't use any system resource (no disk access, no socket access, etc...) On the other hand one of my DLL is a ManagedC++ wrapper around Uniscribe. I cant escape either of ManagedC++ or C# Interop, which requires maximum permission I believe. However what my library does and the function it expos ...Show All

  • SQL Server save or export report with chart into html format

    Hi, 1) anyone can help to guide me, i did create a standard report for chart, table and image. now i was thinking to export it into html format. can i able to do so 2) after that is there anyway can allow me to create my report into ms outlook for me to send out the report to other user with all the picture and chart able to view. because i did try to export the report into the mhtml format. but once i attach it into the email on ms outlook. and the user not able to view all the picture and the chart. regard terence chua ...Show All

  • Smart Device Development multiple form app, poor performance, design advice?

    We're running into performance problems on our development of a multi-form pocketPC system. We decided a long time ago that each form in this system would be in its own app, and we'd pass the data we needed to move around in xml packets using MSMQ. The reason for this decision was to maximise flexibility, so we can add custom forms for individual customers, and because putting all forms in one app would lead to a BIIIIG app, possibly even appraoching the 32mb limit. However, it's far to slow loading each form, 12+seconds!!! alternatives we're thinking about ====================== Have all the forms in one app, but this would lead to a the bi ...Show All

  • Visual C++ Exception handler bug in VC8 compiler

    Hi, I believe that I have found a bug in the exception handler in VC8 (VS 2005). A bit extreme circumstances are needed to reproduce the bug, but nevertheless, this was originally found in working production code (where it didn't look as extreme, but additional complexity probably triggered the bug at an earlier stage). I have simplified the production code just to reproduce the bug, and this code is enclosed below (no other reason in the code than reproduction of the bug). The problem occurs upon a nested pair of try / catch blocks, where the inner try / catch contains a large switch / case statement with many throw statements (one fo ...Show All

  • Visual Studio Merging auto-generated code with custom code?

    Let’s say you have a DSL combined with a set of wizard and recipes to generate code for a custom framework on which a customer would like to build all future .NET applications. As a developer I start the first iteration of the application development and generate supported implementation artifacts. Then I continue adding my business logic (e.g. code behind “click” events in a form or code in C# classes which skeletons were generated through recipes). In iteration #2 I figure that I messed up the framework code that was initially generated. For instance, I modified the caching mechanism of the framework which in consequence led to viol ...Show All

  • SQL Server Full Screen in Report Manager

    Hi all.... I'm curious if there is a way to default to "full screen" mode when a user first views a report through report manager. The users here can click the arrows on the right side and thus make the "header" of the page collapse, but is there a way to default to that so that the users don't have to click the arrows We've also given users to ability to access reports via our intranet by physically typing in the address to our intranet. That address redirects to the report server - wondering if this may make a difference in the ability to default to full screen. Any help is appreciated. Thanks, Matt Hi Mat ...Show All

  • Visual FoxPro Fonts, Fonts and more Fonts.

    Hi everyone, I have posted this quetion before, but I still don't have a reaonable solution. I have a whole bunch of reports which are created in FOXBASE. These are generated using simple commands. Initially we want to run them as they are. The problem is that no matter what font I try, it is not identical to the older 'text' font. Since we are printing on forms, we need the font to be identical. Is there no way to print something in VFP so it comes out exactly as it did in FP2.6 Dos I tried variations of Foxfont, Fixsys, serif, courier etc. The closest is Foxfont but I can only use it at 10pitch (Too small) or 16 (too big ...Show All

  • Visual Studio Express Editions Did I mess up?

    I created a project, unchecking "precompiled header" and checking "empty project" because I simply want an empty page to work on. I finish the creation process and it says it's all good, but it won't automatically open. I thought that was kind of weird, so I try to open it manually from within VC++. It won't open. Then I try manually opening it from My Documents and here's what comes up: "IntelliSense information will not be available for VC++ projects because the IntelliSense database file C:\Documents and Settings\Jason\My Documents\Visual Studio 2005\Projects\hello world\hello world.ncb could not be opened for wri ...Show All

  • SQL Server Storing and retrieving image (about 300 MB of each file, which is stored on a remote network directory)

    I have more than 10,000 files in my remote network with a size of 300 MB each file (raster file). My question, what is the right way to store 300 MB file I meant to say how much performance it would be if i store the image file through SQL Server 2005, compared to storing over the remoted network Any help would be appreciated... thanks - Benoy I would suggest storing the data on a network share, and the appropiate link / reference in SQL Server. HTH, Jens Suessmeyer. ...Show All

©2008 Software Development Network