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

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

psualum67

Member List

ts.suresh
Jackply
ErikLidman
.NET_Programmer
dkocur
Roona
aloulou_2007
Stéphane Turcotte
JamesF
Lucky_123
Mark Brady
RAmber
baix
johnes
Kuba B
rick_
AkhilaL MSFT
Klimov Vova
paulb-au
Snoo68
Only Title

psualum67's Q&A profile

  • Smart Device Development How to close the former form?

    Hi. I have built a login form which links to a main form. After check user's ID and password, i use such codes: Dim newForm as New mainForm mainForm.show() Here i do not know how to close the form login form, me.close() and me.disposal() do not work well. anyone can help me thanks!  Hello Joey, Do you really close your loginform or just hide it And on which form is the MessageLoop running (search for Application.Run) Greetings from the rainy Netherlands. ...Show All

  • SQL Server Report performance issue - time in processing

    I'm having performance issues with a report which is taking nearly 22 minutes to return 2100 rows. I've queried the execution log tables and the Time in Processing accounts for more than 99% of this. The report is applying cell formatting using a coded function to retrieve formatting from a stylesheet which hasn't proved problematic so far with other reports, and has several levels of grouping in a single table with sub-totals for each group level and an overall table total. There's also conditional criteria for the grouping expressions depending on report parameters passed in. Anyone have any ideas as to the most likely cause for the ...Show All

  • Architecture Advantages of OOP ?

    Hello, Im a fun of OOP designs. I design my bussiness classes when I start a new project. Then maybe I will write mapper classes for bussiness classes to map DB tables or using an O/RM tool or an ODBMS . Think that this project is big one and it has long deadline. You will develop it 2 or 3 years. Requirements will be changed. To develop this project with OOP designs and n-Tier application design is good idea. But I am asking myself this question "Why am I choosing this long way ". I think the advantages of OOP are re-usable and flexible (when there is a new requirement). OOP makes less code behind user-interface. But I dont un ...Show All

  • Windows Forms Determining Drive type at runtime

    I have an application which uses the openfiledialog control to allow users choose a destination drive for writing purposes. I need to be able to determin at runtime, if the returned directory from the openfiledialog is a local or network drive... please help Chinedu wrote: I have an application which uses the openfiledialog control to allow users choose a destination drive for writing purposes. Wouldn't it be more appropriate to use a FolderBrowserDialog for that Chinedu wrote: I need to be able to determin at runtime, if the returned directory from the openfiledialog is a local or network drive.. ...Show All

  • SQL Server Stored Proc/Table Truncation

    In SQL Server 2000 I know there wasn't a way to force SQL Server to throw an exception if the data being input in a table is greater than the allowable field size and instead it will simply truncate the data and insert the truncated data for that field. I'm curious if SQL Server 2005 has an option like Oracle and DB2 to force an exception to be thrown if truncation would need to occur to input that data. I know this can be validation in the client-app, I'm looking for a solution w/ regard to SQL Server throwing this exception. Thanks! SET ANSI_WARNINGS will work for most cases. But that will still not catch cases like passing values to ...Show All

  • Windows Forms Form.Show() hang in Visual Studio 2005 C# Beta 2 May CTP version

    Hi: I am using Visual C# 2005 May Beta 2 version and encounter the following problem: 1) Create a windows Form obj and add some buttons to it using the Form designer. 2) Display the modeless form :  Form1 aForm= New Form1(); aForm.Show(); After I run it in Debuger. The form just hung with a hourlyglass icon in the client area and no form item come out. 3) It works with the model ShowDialog() method aForm.ShowDialog(). Anyone can easily repeat this. I can NOT believe this is a bug !!! Please help !!! Where abouts do you perform the Form1 aForm= New Form1(); aForm.Show();   call Is ...Show All

  • Visual Studio Express Editions Object reference not set to an instance of an object - XML

    I am trying to get some nodes from an XML File. I get an error (Object reference not set to an instance of an object) when trying these calls. System.Xml. XmlNodeList FavItemsCollection = XmlDoc.SelectNodes( "Favorites/Folder" ); System.Xml. XmlNode Favorite; // = FavItemsCollection.Item(0).SelectSingleNode("Title"); int i = 0; while (i < FavItemsCollection.Count) { Favorite = FavItemsCollection.Item(i).SelectSingleNode( "FolderTitle" ); cbFavFolders.Items.Add(Favorite.InnerText); ** The error occurs here ** i++; } if (cbFavFolders.Items.Count != 0) { cbFavFolder ...Show All

  • SQL Server SQL Server 2005

    I have just recently downloaded and installed vs2004/ss2005.  So now I have the version of ss that comes with vs2005 and the developer edition of ss.  I have been able to work with  sqlexpress thru vs2005 but not with the developer edition.  When I engage the configuration manager which is what I guess to perform the same function as the enterprize manager in ss2000, I am unable to find my databases.  What am I missing here   How am supposed to work with the developer edition Thanks, Fred H ...actually, that's http://blogs.msdn.com/sql_protocols . ...Show All

  • Visual C++ Crashes under VC2005 but not VC6

    Hi, The code below compiles and runs fine under VC6 (VC98). However, when compiled with VS2005 using the exact same compile options and flags, the first line of code under "main" crashes when trying to write to the data. Anyone have any comments   (This is C++, unmanaged) /c /J -DWIN32 -D_WINDOWS -Dhuge -Dfar -D__WIN32__ /Zp1 /Zc:forScope- -D_CRT_SECURE_NO_DEPRECATE -D_DEBUG /Zi -D_DEBUG -D__MT__ -D_MT ------------------------------------------------- #include <stdio.h> char* someData = (char*)"\0\0\0\0\0\0\0\0CHR*"; int main(int argc, char* argv[]) {         someData[3]='a';  return 0; } ...Show All

  • Visual C# Thread Safe Access to DateTime

    Hello all ... I'm working on a class to return the current date. It is a bit more complex than the following code due to managing cultures, but below is the basic idea. My question is: how can I ensure the execution of the get property is thread-safe, without single-threading my application My understanding from the doc that is that I need to be thread safe when using DateTime. I was thinking that lock would be too restrictive and with a lot of calls to this class would almost single-thread my application. Would a Read Write Lock be appropriate here Some other approach Thanks so much for your suggestions! Doug ...Show All

  • Smart Device Development changing label color

    hi there, i was developing an device application. i was trying to change the back color of a label in my device application to web's category color or custom color, but it take no effects. only color under the system category will do is it cannot use color other than the system's color in .net compact framework Please see this: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=178752&SiteID=1 ...Show All

  • Windows Forms Display Windows form with call to dll?

    Hello all, I'm in a bit of a bind here.  I've been tasked to write a dll (not an exe) that will display a Windows form when a particular method on that dll is called.   Any suggestions Thanks in advance. Thanks for the replies.  I guess I just got hung up on the dll/exe thing from COM+ days. ...Show All

  • Smart Device Development MDE: Can't run Device Emulator Manager

    I'm trying to run the Device Emulator Manager on my Win2K desktop. It terminates immediately without a message, whether I start it from the Start Menu, from Windows Explorer or from the cmd line. The emulator itself starts up and runs fine. I'd like to set up an ActiveSync connection to this. As I understand it, I need to get the Device Emulator Manager running to do this. Hi George, That means that the breakpoint was not hit for some reason - most likely because it did not bind to the right place. I made a test file you can run so we'll see the registration error - I've sent it to the email address fo ...Show All

  • SQL Server FMTONLY, LONG Running ?

    Hi There I have been running a trace for long running queries. I know what FMTONLY is, simply returns the metadata of the query. I have found something odd. SQLBatchComplete:SET FMTONLY ON SELECT SETID,FFIG_FIGURE_XX,(CONVERT(CHAR(10),EFFDT_XX,121)),EFF_STATUS_XX,FFIG_TYP_XX,PRCSR_CLASS_XX,SQL_SEL_TXT_XX,RUN_SEQ_AVAIL_XX,DESCR_XX,FFG_COLUMN_XX,FFG_VAL_COL_XX,LASTUPDOPRID_XX,LASTUPDDTTM_XX FROM PS_FFGDFN_XX_VW SET FMTONLY OFF. This performs 0 reads with a 0 duration time. A few commads later the same SPID does the following: SQLBatchComplete:SET FMTONLY ON SELECT FFIG_VAL_XX FROM PS_FFG_FCRB_XX_VW SET FMTONLY OFF This performs 44000 reads 449 ...Show All

  • Visual Studio Team System How we make ViewState Dynamic

    System is giving me ViewState Error when I run the Script recorded in Machine A and run it on Machine B. When I see the view state of the page (where it is failing) it has hard coded value while recording. How do we make it dynamic I tried to extract hidden value from previous page and try to paramatize this hidden value on the hard coded value, it is not working. It still says invalid view state. Please help me, how can we make scripts transportable from one machine to other machine Thanks Tampali What do you mean the previous page viewstate can't be set on the next page Have ...Show All

©2008 Software Development Network