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

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

ScottPGlover

Member List

Binu Jeesman
HarrySimpson
DigitalFusion
webrod
aoky
Jstun
MuscleHead
kart
BMEMBERG
Adam Anderly
Steven Bone
Tyler M
imdqa
Jehan Badshah
Hensen
Mikko Rasinkangas
David Joyce
dj1s
CEichhorn
randyvol
Only Title

ScottPGlover's Q&A profile

  • Visual C# Microsoft, when VS.NET 2005 will become faster?

    VS.NET 2003 was a good tool; it couldn’t handle very large projects, or a solution with a lot of projects, but at least opened, close, and compiled the projects in an acceptable amount of time. VS.NET 2005 looks a bit better, but way slower than VS.NET 2003, well, it opens in time (for the Microsoft demos and presentations), so people will be under the illusion that it is fast, and the hello world samples are running fast, but that’s about it. Once you have a large solution with 20 projects, and each of them with a lot of code, forget the performance, debugging is slow, compile is slow, you name it, they had is slower. It is not the PC, 2GB Ram, and 3GHZ processor is way more than enough, it is just tons of developers building VS ...Show All

  • .NET Development Advice on "DAL" design (O/R mapping) sought

    Beeing quite new to the .NET world I'm looking for some advice on choosing the "right" way to implement data access or O/R mapping in .NET applications (both ASP.NET or Forms). In the Java world, I would choose Hibernate to access databases and probably Jaxb2 for XML serializations. This is an easy choice, because there, both of these are mainstream or standard and quite satisfactory. I know of NHibernate, but if I understand it right, the next major release of .Net will include language level O/R mapping (is this so ). This would make my code obsolete if I introduced Hibernate to my company, which in itself would not be easy ;-). On the other hand, what is available right now with current ADO.NET is not very satisfactor ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Fog?

    I have no idea why but I just can not get fog working on my terrain, I have tried setting the fog renderstates as follows, I have tried everything and these are the last values I have tried using... this .Graphics.GraphicsDevice.RenderState.FogColor = Color .White; this .Graphics.GraphicsDevice.RenderState.FogVertexMode = FogMode .Linear; this .Graphics.GraphicsDevice.RenderState.FogStart = 2.0f; this .Graphics.GraphicsDevice.RenderState.FogEnd = 5000.0f; this .Graphics.GraphicsDevice.RenderState.FogEnable = true ; here is part of my vertex shader where I set the fog intensity struct VS_OUTPUT { float4 Position : POSITION0; float2 Texcoord : TEXCOORD0; float2 Texcoord1 : TEXCOORD1; float Fog : F ...Show All

  • .NET Development Moving a Program

    I have written a huge program in C#. The program connects to a database using a connection string. I was writing the program on my own personal machine and then when it was time to deploy it to the client, I changed the line of code that contains the name of my server and database and replaced it with the clients server and database. The program as many of you may have guessed didn't work. I do realize that i would have to redo all the work to modify the links from the server I have on my machine to the other server. Is there a way to do this without having to duplicate the work and redo everything please help Also, I was wondering if it was possible to do the link to a SQL Server dynamically. Meaning allow the user to pick a SQL server ...Show All

  • Visual Basic ADO Connection - data missing because of fields type

    Hello, I'm getting data from a text file that has only one column and containing numbers that would have the currency type (> 2 147 483 647 that is the maximum long number). Then, I put those values under Excel. Example: Titi 1207710000 42100000 3980000 17910000 106360000 1000000000 2260100000 3138380000 5000000000000 17100000 21600000 52000000 1000080000 10692000 0 Here is the code: Sub test() Dim RowIndex As Integer Dim requete As String Dim cnx As New ADODB.Connection Dim rs As New ADODB.Recordset 'Open the connexion to the text file cnx.ConnectionString = "Driver={Microsoft Text Driver (*.txt; *.csv)};Dbq=c:\TEMP\;Extensions=asc,csv,tab,txt;Persist Security Info=False;IMEX=1;" cnx.Open ' ...Show All

  • .NET Development SMTP setting the Return-Path

    Hello How can i set the Return-Path of my MailMessage, i need the emails to be sent from sales@mydomain.co.uk however i need them to be returned to bounced@mydomain.co.uk if the emails are bounced back I have tried: email.Headers.Add( "Return-Path" , " bounced@mydomain.co.uk " ); email.Headers.Add( "Errors-To" , "< bounced@mydomain.co.uk >" ); However the Return-Path never seems to change from the value in the From property. I have also tried this in reverse so that the returnpath is correct and i try changing the From feild in the header. From.EmailAddress = bounced@mydomain.co.uk ; email.Headers.Add( "From" , " sales@mydomain.co.uk " ); Please any help there must be a way to do this. Thanks Lee ...Show All

  • Smart Device Development Writing EXIF Metadata in Windows Mobile 5

    I have a problem for embedding EXIF metadata information to a JPEG file in a PDA (using Windows Mobile 5). There's a good example to read EXIF metadata from a JPEG: http://www.pocketpcdn.com/forum/viewtopic.php t=6211 I can easily replace the command GetPropertyItem with SetPropertyItem, but what next Because in my opinion, these commands are applied in a memory stream and we have to save it into file if we want to embed the EXIF metadata to a JPEG file. Please help! Thank you in advance. Thank you, but do we need IImageDecoder as well Is this a continuation of the previous example or a new way And how about using IImageFactory::CreateImageEncoderToFile How do we get the ...Show All

  • Visual Studio Unable to add references to BusinessObjects Enterprise assemblies

    I’m currently developing reports in ASP.NET 2.0 using Crystal Reports XI & VS 2005. I’ve Crystal Reports XI installed on my machine. There is also Crystal Reports Server 30 Days Evaluation version in Business Objects XI. I need to schedule reports using Crystal Reports Server. Now problem is I’m not able to add references to Business Objects Enterprise assemblies which are required in scheduling & exporting reports. Expecting reply ASAP ...Show All

  • SQL Server SQL table design

    hi there,im new to sql server 2005 and this forum need help here pertaining to the database table definitions all was well when i started using it a month or 2 ago until now that when i tried to redesign my tables,it wouldnt prompt me to choose a primary key for my table previously what happened was that when i saved the table without selecting an attribute as a primary key,it would prompt me to do so nu could choose to have the primary key auto-generated but now it seems it stopped prompting me about it whats wrong with it anyone else faced this pardon my question,im a noob at this sql server thingie thanx in advance! To remove all the rows in a table, and have the IDENTITY value sta ...Show All

  • Visual Studio Express Editions Why does time show in Format$

    I want 1/20/2007. I get 1/20/2007 4:44:45 AM. Here is the code I'm using: Private Sub DateTimePicker1_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DateTimePicker1.ValueChanged Dim dt As DateTimePicker = sender Dim str As String 'TextBox1.Text = Format$("{0:d}", dt.Value.ToString) 'TextBox1.Text = Format$("{0:M d,yyyy}", dt.Value.ToString) 'TextBox1.Text = Format$("{0:m d,yyyy}", dt.Value.ToString) 'str = Format$("{0:m d,yyyy}", dt.Value) str = dt.Value.ToString TextBox1.Text = str.Substring(0, InStr(str, " " ) - 1) End Sub As you can see I have tried several ways but the time shows up in all but manual ...Show All

  • Visual Studio Project/Folder structure wromg in VSS

    Ok new to VSS but have been using Visual Studio 2005 pro with no source control since it came out. Don't understand the folder structure when I add solutiions to source control. From developer box A I added 2 projects. First one goes in as Program Manager.root. Under that I have a Program Manger and a Deploy folder, just like on my local drive. Second one goes in as Preventative Maintenace.root. Under that I have a documents and settings folder and a program files folder. Under the docs and settings I have to tunnel down through to get to the actual project structure that matches the local one. It's like it adding the path that my /$ root is set to, but not on every solution I add to VSS. I have tried adding projects from a second develope ...Show All

  • Commerce Server Server Error in '/OrdersWebService' Application.

    Hi, I've had this error on 2 separate sites (CsharpSite and StarterSite). Am really struggling to resolve it. Looks like the AllowedStatusTable is expecting data but doesn't have any. I've found another post on the forum for the same problem http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1083101&SiteID=1 but he didn't get an answer. I'm sure we'd both appreciate some help. Thanks very much. Server Error in '/OrdersWebService' Application. The specified value for the newOrderStatus attribute is not valid. The value provided was: 'NewOrder'. Please make sure an entry for this value exists in the AllowedStatus table in the transaction config database. Description: An unhandled exception occurred during the execution of the c ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Filter Surface

    Hi.. I have such a Problem: Lets say I have a big circle which has small rectangels in it. Some of these rectangels are passing over the bound of the circle.I want that these parts of the rectangels are not beeing seen. So that means just the edges which are in the circle must be seen. If I couuld not tell it celarly you can look at this picture: http://www.ma-tas.de/question.zip Thanks.. In DirectX you can use the stencil buffer for things like this. Draw the circle shape setting the stencil buffer. Then when you draw the otehr shapes test the stencil buffer to see if draing is allowed. For GDI and other drawing applications you should google clipping regions. ...Show All

  • Visual Studio 2008 (Pre-release) Check if key is control

    In Win Form .NET 2.0, KeyEventArgs have a property is KeyCode, and to check if user press a control key, I can use Char.IsControl(). But in Avalon, System.Windows.Input.KeyEventArgs only have a property is Key, and its type is System.Windows.Input.Key. But I can't get the key code of that key, and to check if user press a control key or digit key is complex. I am a beginner in Avalon, can you give some solution. Thanks! Keyboard.Modifiers will give you the set of ModifierKeys currently pressed. For e.g. below given code check whether Control+A pressed         private void OnKeyDown(object sender, KeyEventArgs e)         {      ...Show All

  • SQL Server using sql server agent stored procedures to execute a package

    hi everyone, awhile back someone (i think it was darren) submitted a post which had a code example of using sql server agent stored procedures to execute a package.  i searched for the post, but i didn't find it. anyway, can someone please re-post that example or provide a similar one thanks. To create a SQL Agent job that calls a package you would use several stored procs, creating the job, the step, the schedule etc. They are all in Books Online, or better still create your own sample code. Go to Management Studio, and manually create a job that executes a package, setting all the fancy job options you want. Do NOT click OK to actually create the job, instead click Script . All SSMS dialogs can now be scripted in t ...Show All

©2008 Software Development Network