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

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

EspenSvendsen

Member List

KarlZheng
GiriKrishna
nikitaj
rahulmanasa
jay_jay
JoshKorn
blackpenny15
KoenP
ywz
foxman_
Ed Moya
Mario N
maryz
mjoc69
choppala
TanLU
Pascal Bourque
senior man
Rafael Mores
LouisPeter
Only Title

EspenSvendsen's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. DirectX Events

    In a DirectX program, when is updating/drawing usually done What event I can't seem to find an Application event suitable. Usually, such an application is written like this: InitApp(); while (DoNotExit) { ReadInput(); Update(); Render(); } CleanUp(); Bye(); So you can expose Update() and Render() as events and have the programmer set them as desired... Does this answer your question ...Show All

  • Visual Studio Express Editions URL?

    I have been asking about this a few times and gotten no answer to my question. I have a tabbed browser with no url textbox(for input). I want to however display the url of the current tab in a textbox or a label. So I can use for instince. If URL = "http://" then Webbrowser1.navigate("http://") EndIf well right now I can say that this is bad - to have your own navigation system to login the user or redirect them since the website could change - meaning links in your application would be invalid. Still, best to let the user type in the url etc... as you do in internet explorer for example. however, you need to know: the url of the login page the unsuccessful l ...Show All

  • Visual Studio 2008 (Pre-release) Root directory?

    Is there a common way of telling where the hosting root directory is with a WCF service With a standard HttpRequest I can use MapPath but with WCF I could be hosted by IIS or self-hosted so I don't want to use the HttpContext method of MapPath. With WCF the documentation says to stear clear of HttpContext and use OperationContext but I don't see the equivalent of MapPath in OperationContext. I need to access a file and I don't want to hard code the path. Any ideas Kevin ah self-hosted, sorry. please have a look at this: http://blogs.msdn.com/wenlong/archive/2006/02/21/read-configuration-data-from-hosted-wcf-services.aspx hth, Allan ...Show All

  • Visual Basic Advanced Validation Control ?? HELP

    Hi I am writing a large program ( Windows Application )where I am using three text boxes. I am performing validation controls on these text boxes however there are some conditions Names of textboxes x y z The conditions are x , y , z should be numeric. x and y can be blank ( x = “” , y = “”) at a time z can never be blank, it should always have a numeric value. if x has a value y cannot be blank and x should be non negative if y has a value x cannot be blank and y should not be non negative. if x and y have values y > x z should be non negative A message box should pop up each time the user clicks a button with the appropriate error ( eg : x canno ...Show All

  • SQL Server Report Needs only PDF Export Format

    Hi, I have around 20 report in my testserver.In this 5 reports needs to export only in PDF format. The Other 15 reports are needs to export in PDF,Excel,CSV and TIFF formats. I am using Reporting Services2005 for developing reports and also using VS2005. Any suggesstions appreciated. Thanks, Prabu Those formats are all supported. Unfortunately you can't control for a particular report which export formats are supported. They are configured at the server level and apply to each report in the catalog. ...Show All

  • .NET Development Obtain dimension in byte of a record

    Hello I'm trying to calculate the ipotethic dimension of a record. I'm using the object SqlConnection and the method GetSchema(<string>).  I use as parameter this string "Columns" and I look at the dimension I relize that the data type DateTime has as dimension 3 (column DATETIME_PRECISION), why Is there some other method for obtain information about column and record dimension by the database metadata collection or I have to calculate manually dimension checking data type and the associated dimension I would like to obtain some other statistic from my database like table dimension, database dimension, keys and indexes fragmentation etc etc. Have I to use metadata collection   Thanks for your attention and ...Show All

  • Visual Studio Team System Which table in the TfsWarehouse db has the "Severity" field?

    If you open up the "Active Bugs" list in Tfs, you will see a combobox field named "Severity" that has four items in it - Critical, High, Low, and Medium. Which table in the database houses this field and what is the field name If the field is a foreign key, what table does it relate to Thanks for your help! Bo I don't have a configured machine in front of me at the moment but I believe Severity is not marked as being a reported field. So out-of-box it is not persisted in the reporting databases. You can use WitExport.exe and WitImport.exe to change the "reportability" of a field. These tools are located in %ProgramFiles%\Microsoft Visual Studio 8\Common7\IDE Command-Line Tools: http://msd ...Show All

  • .NET Development c# ms access problem

    Dear All. I have mdb file (office 2003) with table called table1 (F1 int primary key, F2 text). and below is my c# code: private void FM_Main_Load( object sender, System.EventArgs e) { System.Data.OleDb.OleDbConnection Conn = new System.Data.OleDb.OleDbConnection(); Conn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + Application.StartupPath + "\\db1.mdb"; System.Data.OleDb.OleDbDataAdapter DA = new System.Data.OleDb.OleDbDataAdapter("select F1, F2 from table1", Conn); DA.Fill(DS); // DS is the typed dataset with structure as table1 } But when I run my application it gives below error: "The Microsoft Jet database engine could not find the obj ...Show All

  • Visual Studio AspNetCompiler not copying references

    Hi, I am using the AspNetCompiler task in my msbuild script. If I build from VS then everything works fine. However, if I build cleanly from the command line it fails because my references aren't being copied into my web project's Bin folder. What is responsible for copying references into the /Bin folder I noticed that project references are stored in the solution file - but is msbuild supposed to look at them and copy them in Or am I supposed check the assemblies under /Bin into source control Thanks for any help, Kent To answer my own question, don't try to do this yourself. Instead, use the new web deployment project support via this download: http://msdn.microsoft.com/asp.net/reference/inf ...Show All

  • SharePoint Products and Technologies Customizing the default Navigation bar

    I would like to customize the default navigation bar. Is there a way to use images instead of the default buttons Or would it just be easier to add styles in the style sheet The one at the top of the page. It lists all your top level sitese. I would like to customize that one with either images or custom colors. ...Show All

  • SQL Server Need help onGroup and count

    Hi, I need a hand on creating a query related to grouping and counting. I have a 3 table. Client, Customer and User. Cleint has many Customers and Customer has many users. In Users table there is a filed which is 0 for live and 1 for Inactive.I need to group Users by Client and customer and need to show how many live and Inactive users per Customer in the following order. Client Customer User LiveCount InactiveCount Is this possible. Thank you. -VJ CREATE TABLE [dbo].[TblClient] ( [ID] [int] IDENTITY (1, 1) NOT NULL , [Name] [varchar] (100) ) CREATE TABLE [dbo].[TblUser] ( [ID] [int] IDENTITY (1, 1) NOT NULL , [Name] [varchar] (50) [CustomerID] [int] NULL , [Inactiv ...Show All

  • Visual C++ C++ implicit cast rule

    Just out of curiousity, does anyone know the C++ standard rationale for not allowing implicit casts that changes signness when indirection or referencing is used Consider: void byvalue( unsigned int ) { } void byaddress( unsigned int *) { } void byreference( unsigned int &) { } int main() { int x = 0; byvalue(x); // no error byaddress(&x); //cannot convert parameter 2 from 'int *' to 'unsigned int *' byreference(x); // cannot convert parameter 2 from 'int' to 'unsigned int &' return 0; } i think it is a good idea to give a keyword like explicit that mean what is decorated can not be cast. but if "int" can not cast "int&", ...Show All

  • Visual Basic No Enough Storage Space is available

    Almost every one hour, when I run the project , I get this error and i have close and open again. Any idea Regards Mani You've allocated too much memory. Flush the buffers, close connections, null variables, choose your datatypes wisely. Lastly, make sure only one instance of the application is running. Ctrl+Alt+Del Adamus ...Show All

  • SQL Server Configure datepart's first day of the week

    Hello, I would like to configure the first day of the week as monday. I know how to set it on sql using set datefirst 1. But i do that in the server that im working and on the report my week is wrong. It isnt using monday has the initial day, but sunday. Im using the datepart on the expression of a field, the RS probably is getting another configuration, why Is he picking it up from the VB engine If so how can i configure Is he picking up from another db What is the db that he normally gets it from If the thing that i did is almost right but it doesnt configure the server but only my session, how can i configure the db/server properlly. Thank you hey man, try this - http://www.vsmsdn.com/devnet/Thread.aspx Thread ...Show All

  • Visual C++ .NET 2003 SP1 Compiler Internal Error

    .NET 2003 (no SP1) and .NET 2005, C++ compilers in both cases, compile this code just fine.  The build 6030 compiler in .NET 2003 C++ SP1 however fails internally.  I can't really tell where or why, looking for clues. c:\trunk\dev\ul\util\test\t_uprefs.cpp(468) : fatal error C1001: INTERNAL COMPILER ERROR                 (compiler file 'f:\vs70builds\6030\vc\Compiler\Utc\src\P2\main.c', line 148) Anyone at Microsoft able to identify what would cause this   Basically line 468 is a macro that says if the statement does not evaluate to true, throw an exception.  Now obviously this code is just plain wrong, as it needs to be checking the result ...Show All

©2008 Software Development Network