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

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

SnakeSV

Member List

Fille
Ljhopkins
donkaiser
anubisascends
XMLViking
nidsu
Argenta
davidtcf
Bradley Reynolds
Dan Heidel
hrubesh
stryjek4
Prashant Sahay
Glenn Goovaerts
indigo-alien
rWarrior
TalhaAziz
CJW99
Andreas Asterlund
Teddy79
Only Title

SnakeSV's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Performance Questions

    I have two questions regarding how much of a hit certain practices might take to the speed of the game and if anyone has taken the time to run the system through its paces yet. 1) How badly does using accessors (private members with public get and sets pointing to them) tax the system. I can't imagine it being a whole lot, but I can see if you have enough classes in use at the same time, it would add up. In my other, non-gaming, applications (both web and window) I make a strong practice out of never exposing members to the outside world unless it is done via a property, but I noticed that the SpaceWars demo either doesn't do that at all or does it very infrequently. I also remember the GarageGames guys at GameFest, I believe it was the ...Show All

  • .NET Development ASP.net C#, sending email error-the client was not authenticated.

    Hi, everyone: Hope I can get some help here. I've been working on this problem for two days and checked all the resources, but no luck. I'm a beginner of ASP.net C#. and recently working on an application try to send out emails. Below is my code and error message I got: (I used system.net .mail) ///////// code in web.config < add key = " MailServer " value = " 68.142.198.11 " /> < add key = " EnableErrorLogEmail " value = " false " /> < add key = " ErrorLogEmail " value = " XXX@sbcglobal.com " / > < add key = " ProductsPerPage " value = " 6 " //////code in utilities.cs public static void SendMail( stri ...Show All

  • Visual Basic Singleton-threading confusion

    Hi, My first singleton, so i have some doubts about threading issues involved. Public Class UsuRegistro Private bloqUsers As String = "bloqUsers" Public users As New Hashtable Public Function GetUsers() As Hashtable SyncLock bloqUsers Return users End SyncLock End Function Public Function GetUser(ByVal cod As Integer) As UsuObj Dim obj1 As Object = users(cod) Dim usu1 As UsuObj = DirectCast(obj1, UsuObj) Return usu1 End Function Public Sub RegistUser(ByVal cod As Integer, ByVal usu1 As UsuObj) SyncLock bloqUsers users.Add(cod, usu1) End SyncLock End Sub Public Sub DeleteUser(ByVal cod As Integer) SyncLock bloqUsers users.Remove(cod) End SyncLock En ...Show All

  • SQL Server Native Client ignores ANSI_NULLS setting in database

    Hello, I'm using the SQL Native Client to connect my VB6 application to my SQL Server 2005 database. My SQL Server 2005 database has ANSI_NULLS turned off. I have a query embedded in my VB6 application that uses the syntax "fieldName = NULL" in the WHERE clause. When I execute the query via the SQL Native Client, the query returns zero rows. When I execute the same query via the old OLEDB driver, the query returns many rows. If I change my query to "fieldName IS NULL" syntax, the problem goes away. However, I am more interested in figuring out why ANSI_NULLS are turned on when using the SQL Native Client even though my database has them turned off. Is there a connection string property that I can use with the SQL Na ...Show All

  • Visual Studio Team System Solution Explorer / Schema View / Design Time Database - Where is the 'Truth'?

    We are running into repeated cases where the code contained in the Solution Explorer of DBPro is not the same as that contained in Schema View and not the same as that contained in the Design time database. This makes me wonder, where is the 'Truth' contained Microsoft has boasted that the 'Truth' is in the Project. However, what part of the Project Earlier today I used the Schema Compare feature to compare our project against a development database. About an hour ago I had developers tell me objects were not updated to the development database, they were missed. I then opened the Schema View and saw a warning that a resynch was required. I did so, then did another compare against the development database. A few more objects showed u ...Show All

  • Visual Studio Express Editions Issue manipulating numeric values in textboxes

    I am building a program which has many text boxes most of which are user inputs and a few which output results based on the user inputs However i noticed that I cant do something like this; textbox1.text = textbox2.text + textbox3.text because the resault will turn out to be "textbox2textbox3" This only happens when i try to add some values from textboxes but it seems that the other operators work fine doing it the same way The only way that ive found to get the "+" operator working like the others is to define a variable and assign it to the value in the textbox, like this; Dim value2 as Double = textbox2 Dim value3 as Double = textbox3 textbox1 = value2 + value3 but this way seems pr ...Show All

  • .NET Development Strong names for assemblies

    Hello, I'm a new developer (in several senses of the word "new") and I am working on a large-scale internal project requiring testing of code written before I got here. I have already used the CLR profiler successfully on a production release of the product. However, the CLR Profiler is not giving me the information I really need (how long a process takes in real time); so I've written a short assembly that I've attached to certain methods in the project that writes out to an external file with a trace and other information. The problem that has arisen is, in one specific class, this assembly causes a build error, because it is not a "strongly named assembly." How exactly does one name an assembly strongly BTW. ...Show All

  • SQL Server Questions on translation and naming attribute

    Hello I have a few questions regarding the translations. 1. Is it possible to create this neat auto-generated date dimension in any other languages than english 2. When I use the Currency format string on my autogenerated measure groups they all turn out as $, but when I use it on a calculated member it chooses the correct currency. How can I change this for the auto generated measures 3. After creating the member, how do you define the deafult member show from the dimension. Say for example that I have DimEmpl(Code, Name). I would like the Name attribute to be the attribute showing by default. I know this is possible while creating the dimension, but what if I want to change it later Thanks // Richard ...Show All

  • Visual C++ default destructor and list iterator

    I came across a problem with a default destructor. The problem has been distilled down in the code at the end. I have an Iterator class that is used to access std::list<>'s. The original design was that a pure abstract base class was used to provide an interface. But if I define a pure abstract base class, bad things happen. From what I can see, the default destructor does the wrong thing and delete's the pointer to the std::list<> used by the subclass. Here is where it gets truely odd: only if the std::list<>::iterator in the object is initialized, does the destructor do something bad. Simply creating and deleting the object does not create a problem. If I implement destructors that do nothing, all is well. But my dest ...Show All

  • Smart Device Development problem with NdisMInitializeWrapper

    Hello, I have downloaded the windows CE passthru example. Creating the dll is no problem. The dll get loaded, but stops at NdisMInitializeWrapper. NTSTATUS DriverEntry( IN PDRIVER_OBJECT pDriverObject, IN PUNICODE_STRING psRegistryPath ) { NDIS_STATUS status = NDIS_STATUS_SUCCESS; NDIS_STRING sName; NDIS_PROTOCOL_CHARACTERISTICS ndisPChars; NDIS_MINIPORT_CHARACTERISTICS ndisMChars; Ausg("DriverEntry"); NdisAllocateSpinLock(&g_spinLock); Ausg("InitWrapper"); NdisMInitializeWrapper(&g_hNdisWrapper, pDriverObject, psRegistryPath, NULL); Ausg("Finished"); The "Ausg" function just writes information into a logfile. The green one get called but the red one not. Any ideas what could be the reason Update: Now i have ...Show All

  • Visual Studio Team System How to delete default cmmi Tasks?

    Hello, I was looking at the xml files that I downloaded of the process template and I didnt find where to delete the default tasks that the process template has. I mean -setup permissions,migration of source code, I cant delete them neither. They should exist in the workitems.xml file in the WorkItemsTracking directory. If you look at that file you shoud see <WORKITEMS> <WI type="Task"> </WI> more tasks..... </WORKITEMS> -paul ...Show All

  • Smart Device Development RasEnumConnection don't detect any connection...

    Hi! I've create an application that detect Gprs Connection and check how much traffic is genereted. On WM2003 it's all right, but in WM5 the RasEnumConnections() function always return 0 with 0 connection active... The code for detect Connection is: DWORD isConnection = false; RASCONN rgrc[4]; DWORD dwSize = sizeof(rgrc); DWORD dwConn = 0; DWORD dwREC; dwREC = RasEnumConnections(rgrc, &dwSize, &dwConn); if (dwREC == ERROR_SUCCESS) { DWORD i; RASENTRY rasEntry; rasEntry.dwSize = sizeof(RASENTRY); for (i = 0; i < dwConn; i++) { if(!RasGetEntryProperties(NULL, rgrc .szEntryName, &rasEntry, &rasEntry.dwSize, ...Show All

  • Visual Studio Team System Cannot compile C++ unit tests

    I am a new user to the Visual Studio Team Suite. I have created a default test as described in the help file, and compiled. No errors. I then merely add in the header for the class I will be writing a unit test for, and I end up with the following message when I compile: 1>MyTests - 3140 error(s), 0 warning(s) If I look at all the messages, they are all complaining about Visual Studio's header files. For instance: 1>C:\Program Files\Microsoft Visual Studio 8\VC\include\vadefs.h(89) : error C4956: 'va_list *' : this type is not verifiable What am I doing wrong Jonathan Scott I played with the /cli option and when I change it from safe to pure, it compiled. My production code is g ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA Game Studio Professional

    In the announcement of XNA Game Studio it says that the Professional Edition "will add support for tools and services that professional game developers need to ship commercial games". My questions: What exactly would prevent me from programming a game in the Express Edition and sell it (If the answer to the question above is "nothing"): What would make me want to buy the Professional Edition Ah I see, sorry must have missed that when I read through the FAQ for the first time. So basically I only really need Professional Edition if I have a XBOX 360 Developer Kit and want to develop commercial games, correct ...Show All

  • Visual Studio Express Editions Linker problem for OpenGL Program

    Hello, I'm trying to start going through the "Beginning OpenGL Game Programming" by Astle and Hawkins. The book uses VC++6.0 for its sample code, but I have VC++ 2005 Express Edition, and I'm having trouble getting a simple sample working. It compiles fine, but when I try to build it, it says LINK : fatal error LNK1181: cannot open input file 'condlg32.lib' Does anyone have any suggestions Thank you so much! Not with that code. I can get it working with the code that is given when you load a new project... // Hello.cpp : main project file. #include "stdafx.h" using namespace System; int main(array<System::String ^> ^args) { Console::WriteLi ...Show All

©2008 Software Development Network