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

Software Development Network >> Matt Lin's Q&A profile

Matt Lin

Member List

JoshuaW
Jonathan Allen
KENTY
hayek85
qayoom
mammoo
C#Geek
DevilDog74
Kevin Service
Cla82
biscuithead
Perwel
robinjam
KitGreen
Giovanni A. Costa Rosa
DKB
KatyG
JLLO
Lady_A
PaulMCiti
Only Title

Matt Lin's Q&A profile

  • Windows Forms closing form, and all modals on top of it

    Hi, I have an application that connects to a server. The server might send an event that should cause my app to go offline. However, the user could have at that particular moment a wizard (in the form of a modal dialog), which also could have other modals or message boxes on top of it. When I receive the event, I want to be able to close the wizard along with all its modal 'children'. There was a solution, in having the modals listen for a particular event, and close when they received it. However, as I said, I could be using message boxes also. So I can't have those listening for the event. I need something like running through the forms of my app, and see if they're on top of the given form. Then call Close() if that's the ...Show All

  • SQL Server Usage-Based Optimization

    Hi all, Im working on AS 2005. The users will use Excel 2003 pivot table to query cubes. The performances look fine so far but I read that the Usage-Based Optimization is a powerful feature from AS 2005. Do you think it will be a good idea to implement this optimization Regards, JL Have a look at this previous thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=783773&SiteID=1 HTH Thomas Ivarsson ...Show All

  • Visual Studio Express Editions Need a bit of help creating a C project

    What steps do I take in creating a C project in Express. I would think that one should be able to just create an empty project and then add a file with a .c extension but I'm having problems. One way I tried was to go into a projects "Properties" click on "C/C++" then "Advanced" and change "Compile As..." to "Compile as C code". This works but there doesn't seem to be an easy/nice/simple way to start off in C without creating a bunch of c++ stuff like cpp files in Express ... or is there Thanks in advance. Ayman points to some useful links, though you may have stumbled on a different problem.  1. For making simple C/C++ programs, make sure you start with the VC++ File | New .. ...Show All

  • Windows Forms VS 2005 and Excel ClickOnce problem

    Hi, I create simple excel project w/o any code. I deploy with success but when I try to install I can’t do it. I try to install in different location, changing the version number, adding some assembly information, sign it - and its’ always the same error. PLATFORM VERSION INFO Windows : 5.1.2600.131072 (Win32NT) Common Language Runtime : 2.0.50727.42 System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200) mscorwks.dll : 2.0.50727.42 (RTM.050727-4200) dfdll.dll : 2.0.50727.42 (RTM.050727-4200) dfshim.dll : 2.0.50727.42 (RTM.050727-4200) SOURCES Deployment url : http://localhost/test1/test1.application ERROR SUMMARY ...Show All

  • .NET Development Intersection

    Hi All, Any one know how could I write the following query in MS Access in MS Access, there is no INTERSECT keyword select rd.rep_artittle as [title], rd.ar_ser as [code], rd.rep_code as [rdf] from report_definition rd, report_words rw, key_words kw where kw.id = rw.kw_id and rd.id = rw.rd_id and kw.aword = 'KEWYORD' INTERSECT select rd.rep_artittle as [title], rd.ar_ser as [code], rd.rep_code as [rdf] from report_definition rd, report_words rw, key_words kw where kw.id = rw.kw_id and rd.id = rw.rd_id and kw.aword = ' KEWYORD ' Can you please highlight the difference between the upper and the lower part of the query. In general, you have two ways to implement inte ...Show All

  • Visual Studio Visual Studio Crashes on Computer Standby

    Has anyone had this problem with Visual Studio.NET 2005 Professional Edition: When I leave the computer for a minute I have it set to go back to the login screen for security reasons (using Windows XP SP2) Every single time I return back to my computer, I get the error that says: "AN ERROR HAS OCURRED IN VISUAL STUDIO. IF YOU DID NOT SAVE A FILE IT MAY BE LOST. SORRY FOR THE INCONVENIENCE" The only solution I could come up with is turn off the screen saver or shut down visual studio when I leave the pc for a minute. Both are pretty annoying...... Thanks Thanks Paul, much appreciated. There are some known issues about this, which maybe (but do not quote me) addressed in SP1 for VS2005 - it's currently in be ...Show All

  • Visual Studio Team System Object Moved Error in Response from Web Server during Web Test

    I created a New Web Test and recorded a script. The script hits my login page with a username and password. When I record it works fine. However when I playback the script with 1 user (It is passing the correct username and passworD) I get responses stating "Object Moved" Please click here. What does this mean Also, we call our COM Object on login from ASP which I can see being instantiated when I record but on playback, the COM never runs... Any ideas Also, this might be a simple example of a page redirect. When you enter a URL in the browser that causes a redirect, the browser receives the "Object moved" page but does not display it; the browser shows only the final page in the redi ...Show All

  • Visual Studio 2008 (Pre-release) Bug when MouseLeave Event in ControlTemplate?

    Hi, I have a control template that has an event that is being triggered on MouseEnter and MouseLeave. < Style TargetType = " {x:Type Expander} " > < Setter Property = " Template " > < Setter.Value > < ControlTemplate TargetType = " {x:Type Expander} " > ... < Grid x:Name = " grdHeader " Background = " {TemplateBinding Background} " > < Grid.Triggers > < EventTrigger RoutedEvent = " Grid.MouseEnter " > < EventTrigger.Actions > < BeginStoryboard x:Name = " FadeHalfIn " > < Storyboard TargetName = " tbnToggler " > ...Show All

  • .NET Development Detecting network related SQL errors

    In my application, I want to trap SqlExceptions that occur as a result of periodic network issues between our offices. If an SQL query fails as a result of one of these network-related issues, I sleep a predefined period of time and try again later. Note that I don't want to sleep on any SqlException as it may be a real db-related problem (in which case I rethrow). To accomplish this, I've been looking primarily at SqlException.Number (which the docs indicate correspond to a row in master.dbo.sysmessages ). However, I see that it sometimes returns values from other domains. For example, it can return: ERROR_NETNAME_DELETED = 64, ERROR_NETWORK_UNREACHABLE = 1231 as well as: System.Net.Sockets. SocketError .ConnectionReset - 100 ...Show All

  • Internet Explorer Development Clear IE History From C#

    How can I do this I've tried a bunch of foreach statements, even tried some Win32 stuff, and I havent been able to do it... I have 0 set as my setting and yet it still keeps history. Also, I haven't tried the codeproject thing, and good thing I didn't beceause it doesn't even do what I need it to do... ...Show All

  • Visual Studio Team System Unexpected Behavior

    I have got a team project which contains a mix types of applications(Windows Applications, Web Applications and Class Libraries). And the team project contains multiple solutions files as well.   You can assume the structure as   myTeamProject     | --Solution1 Folder     |        |--WinProj1     |        |--WinProj2     |        |--ChildFolder     |        |        |-- WebProj1     |  &n ...Show All

  • Visual Studio 2008 (Pre-release) INSERTING INTO AN EXCEL FILE FROM MS ACCESS

    Hi everyone, I have been trying to write in an excel file from an access database. I am getting errors such as: Invalid argument. This is the code I am using: thecmd.CommandText = "SELECT " + tbf + ".Neid," + tbf + ".Famid," + tbf + ".RankID1,(" + tbf + ".Valeur-" + tbd + ".Valeur) AS Valeur " INTO [Provider=MSOLAP.2;Persist Security Info=False;Data Source=""C:\Developpement\Project_RCP\RCP_App\Test.xls"";Extended Properties=Excel 8.0;Client Cache Size=25;Auto Synch Period=10000;HDR=NO;].[Feuil1$] FROM ( " + tbd + "," + tbf + ")" Can anyone Help as it is urgent Cheers, Integore, Is this using ADO Have you t ...Show All

  • Visual C++ unresolved external symbols

    id like to start off with i have no idea what i am doing i got this code from a winsock tutorial to give me a base structure for my program i am trying to connect to a pop3 server and check how many emails there are in an acount (irrelavant because i cant even get this to compile) anyway here is my code #include <windows.h> #include <winsock.h> #include <stdio.h> #define NETWORK_ERROR -1 #define NETWORK_OK 0 void ReportError( int , const char *); int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszArgs, int nWinMode); int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszArgs, int nWinMode) { WO ...Show All

  • .NET Development Cannot add signed assembly in GAC ??

    Hi, I've got a problem with enterprise library assemblies. I signed and installed them in the GAC. It works for me and some computers of the team. On 2 others computers, I try to register using gacutil -i and I get the following error message : "Failure when adding assembly to GAC : the module should contain an assembly manifest" Any idea Thanks, What is the dependency graph of your enterprise library that you are trying to install into the GAC Is it a multi-module assembly What other assemblies does it depend on Is there a publisher policy for this assembly or any of its dependencies If you run ILDASM on the assembly that you are trying to install into the GAC, it sounds like the & ...Show All

  • SQL Server Passing Date Parameters to an MDX report

    Having trouble passing to and from date parameters to an MDX report. I've set up query parameters that work when the report is rendered. We also have default values set that are getting passed to the report upon rendering, but cannot pass parameter values from an application to the report. The parameters are string types in the form yyyymmdd. We've passed strings such as 20040101 and also tried using the default values from report manager which are set as [CALENDAR].[Hierarchy].[YEAR].&[2004].&[8013].&[24037].&[20040101]. The report is not accepting either. Any help is appreciated. ...Show All

©2008 Software Development Network