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

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

Alexander72

Member List

boblotz2001
billqu
Umair-Shahzad
A.M.
Penicillin
Corby111
EtherealSky
dn8
manasi
ShawnWilsnach
HenryM679
martin.kolarik
Devin
dzimmy
Banna
Xie Guangzhuang
PERECil
kcchesnut
Joe Buys
AlexStorm
Only Title

Alexander72's Q&A profile

  • Visual C# Passing a class as a parameter - gets error message

    I'm trying to pass a pointer to a static class to another routine, we'll call it 'bind', such that it can access a member of the class by name; however, the compiler generates an error message that says "Error 4 'nBase.cBase' is a 'type' but is used like a 'variable' ". But I want to pass the class. I'm obviously missing something about how to cast it or how to otherwise make it acceptable to the compiler to be able to pass it. In particular, the Bind() routine I'm calling expects an instance of a Windows.form, and the 'Form1' name suffices here. But this is a static class I'm passing, but perhaps using the class name is the wrong thing to try to pass as a parameter. Any smart folks out there who can tell me how I can solve ...Show All

  • Silverlight (formerly WPF/E) Linetypes

    Are linetypes available in wpfe such as dashed, dotted, and different variations such as long dash, short dash, long dash etc.. Is it possible to draw a line or polygon with a dashed linetype, any examples appreciated. Richard StrokeDashArray will set you free. http://msdn2.microsoft.com/en-us/library/bb188513.aspx ...Show All

  • .NET Development How to hide specific row after postback?

    When you use the old asp and were presenting a detail view you might choose to not show a table row by setting the style display attribute to none which takes it out of the html. You might do this where a form was being filled in. For example you ask whether a person is under 17 or over 17. If under 17 you might choose to not display the table row that asks for their driver’s license number. In asp you would use Javascript and do a getElementbyID for the row in question and set the style attribute display to none. I am trying to find the srver side asp.net2 equivalent to set a specific table row style display to none using server side VB after doing a postback. i.e. not using J ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. It's better to have XNA framework package without Game Studio Express...

    I'm not trying to say Game Studio Express is bad. I'm going to express that a standalone XNA framework can be more useful. The reason is that I doubt managing contents inside VS is a good idea for serious development. First, there're usually more than hundreds of content files for a game. This is not what VS solution intends to manage. At least, there's no search function. Second, contents are produced and tested by artists. It's better they don't bother to learn VS nor see the mess of source code. And it should be easy and fast for them to test a content without a rebuild. Third, version control systems are usually used in a team. Contents are usually large binary files. It's not always good to use the same version control system for both ...Show All

  • Visual C# Go to class member quickly using keyboard only

    I'm migrating to VS 2005 (C#). Up to now I've been using VS 2003 with Resharper. I see VS 2005 now implements many of ReSharper "goodies" (refactor, rename, add 'using' etc). However I still can't go to a class member quickly using keyboard only. E.g. in ReSharper (VS 2003) I'd press a shortcut which would display "file structure", then a member would get selected as I type letters it starts with, hit enter and I'm in the member. Long time ago (VS 97/VC++ 5.5 I think), "Class Members" combo box (VC++ editor) were "trackable" (i.e. selection would position on the member starting with the letters type) and one could assign shortcut to expand/focus on members combo box. It's long not the case a ...Show All

  • .NET Development Slow Opening Initial Internet Connection in console application

    Hi, I have a console application which should read xml from the Internet at some point. I've noticed that it takes plenty of time (between 10-15 sec) for initially "setting" an Internet connection via the console application. The same code works instantly in a asp.net web project. The example below illustrates the problem: It takes 14 seconds for step 1 and 0,0 seconds for steps 2 and 3. All files on server are really small (about 1 kb each - 10-15 lines) using (System.Net.WebClient wc = new System.Net.WebClient()) { //step1 wc.DownloadFile("http://somedomain/test1.xml", @"C:\Test1.xml"); //step2 wc.DownloadFile("http://somedomain/test2.xml", @" ...Show All

  • Visual Studio Team System Bug - UI crash & Build fails without errors or warnings

    This is related to http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=848718&SiteID=1 but now I can reproduce the other error (project does not build) and it goes off topic, for that reason I'm starting a new thread. In the previous thread I (several other threads indicate this problem too) reached a state where it was no longer possible to build or deploy the project. In this state there were / are no errors or warnings when an attempt was made to build. I have found that this occurs when a file is deleted from the project and for some reason the project file is not updated to reflect the deletion. In this case it was a crash of the IDE caused by being to quick changing the focus after a delete. On restart the IDE did indicat ...Show All

  • SQL Server proxy 2005 - a little help needed...

    As posted previously, thank you in advance... -------------------------------------------- We have a reverse proxy for rs 2000 -> a client requests a report, it (the proxy) then goes out to the rs box, gets the report, encrypts any return urls and feeds the modified html to the requesting client. I understand this isn't necessary anymore with rs 2005 due to the architecture. Question is, when I use the ReportExecutionService.Render method it is still returning the parameters for the report, and not the ReportSession, ControlID, Controller, etc. parameters which hides the actual return values on the href links of the report. Documentation is plentiful for rs 2005, but examples are not. Can someone please explain to me if using the ...Show All

  • SQL Server how can I obtain message_id?

    Hi all! How can I obtain message_id when I SEND the message, before I execute RECEIVE statement Thanks a lot for the help! Rushi, thanks a lot for the detailed explanation. The best decision for me will use one-message-per-dialog conversation and send one message per conversation, then trace application logic on conversation_id. Thank you, Sveta. ...Show All

  • Windows Forms User Control Inheritance and Namespaces

    I've noticed two unusual issues with Windows Forms user-controls in Visual Basic and was wondering if there was a workaround for either of these: You don't seem to be able to place a user-control in a namespace other than the project's root namespace. When you add the namespace to the class file you receive the error: The class UserControl1 can be designed, but is not the first class in the file. Visual Studio requires that designers use the first class in the file. Move the class code so that it is the first class in the file and try loading the designer again. I assume this is because the partial class is in a different namespace, is there a way to influence what namespace is used for the partial class You can't have ...Show All

  • Visual Studio Express Editions Why would I be getting these errors?

    It seems strange to this newbie why these errors are popping up in a Windows .h file. Can someone enlighten me ------ Rebuild All started: Project: Driver, Configuration: Debug Win32 ------ Deleting intermediate and output files for project 'Driver', configuration 'Debug|Win32' Compiling... driver.cpp D:\WINDDK\3790.1830\inc\ddk\w2k\ntddk.h(7944) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int D:\WINDDK\3790.1830\inc\ddk\w2k\ntddk.h(7944) : error C2146: syntax error : missing ';' before identifier 'InterruptTime' D:\WINDDK\3790.1830\inc\ddk\w2k\ntddk.h(7944) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int D:\WINDDK\3790.1830\inc ...Show All

  • SQL Server Error in accessing data via Linked Server

      Hi,      I am trying to access the View through linked server connection .The linked server connection is between two sql server 2005.     The problem is I am not able to access 2 columns of nvarchar datatype of length 255, from the view through select statement.      I do a SELECT col1,col2 from VIEW,then getting the following error .      Cannot get the data of the row from the OLE DB provider "SQLNCLI" for linked server "SRVXPR". Could not convert the data value due to reasons other than sign mismatch or overflow.   Then I tried with       Select  cast(Col1 as nvarchar) ,   &nb ...Show All

  • Visual Basic VB.Net general

    Hi all, Can I show a form within a panel of another form -- Atanu Ah! A thanx for the trick from me too, Dick! I was creating hidden forms and then moving its childcontrols to the parentform - I didn't realize the whole form could be a control, so this makes copying prefab control units a little easier now! edit: btw, on the childform, set  .toplevel = false  in its New() constructor ...Show All

  • SQL Server reporting services:error when trying to export to excel a report with a matrix

    exception Microsoft.ReportingServices.ReportRendering.ReportRenderingException. (rrRenderingError) See on line help exception Microsoft.ReportingServices.ReportRendering.ReportRenderingException. the key can not be null, parameter name: key ...Show All

  • Visual Basic Visual Studio Is Busy?

      Pentium IV - Northwood 3.5 Ghz - I Gb of Ram. XP SP2 .. all current patches applied. VS2005 RTM Team Suite On occasion while debugging the IDE becomes nonresponsive and I receive a Bubble message informing me that "Visual Studio is busy waiting for an internal operation to complete - If you receive this message often, please inform Micorosoft" After I receive this message the IDE never recovers. All I can do is to delete the process and restart it. Any idea what's occurring ReneeC may be onto something (or not) with the Data Access comment. Everything I write accesses a SQL server in one way or another using code. No grids, views,table adapters or anything like that. I am not able to reproduce the p ...Show All

©2008 Software Development Network