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

Software Development Network >> i.eat.idiots.06's Q&A profile

i.eat.idiots.06

Member List

mf915
Jennifer Three
vTyphoon
rpierry
khawaja
Ljhopkins
MillBear
Philip Jaques
FC-Shiro
Yulia
ewokian
mbradzick
Andreas_M
musafir-a Voyager
Purusothaman A
Majones
Jackot
Aquineas
aliasx
hingos
Only Title

i.eat.idiots.06's Q&A profile

  • SQL Server Restore SQL Server Express Databases after a Disaster Recovery

    Hello, I would like to restore SQL Server Express and its databases from a tape backup to the same server. This is a disaster recovery senario. I backed up the Master, Model, MSDB and my own test database using SQLCMD scripts. I have no problem restoring these using task manager on the server before the disaster recovery. However, in my real disaster recovery testing, When the server is restored by tape drive (HP one button disaster recovery), I try to run my SQLCMD restore scripts in task manager and I cannot connect to the sql server. Also I cannot connect with Management studio. I have recieved the following error in event viewer. ---------------------------------------------------------------- Event Type: Error Event Sou ...Show All

  • Windows Live Developer Forums Polygon Circle outside map boundries

    I am currently implementing the ve api in such a way that we are plotting points on a map and drawing a circle (polygon) around that point on a map based on a provided radius. The point in question is in the Fiji Islands which would be on the rightmost part of the map (approx. Lat: -16.694078, Lon: 179.835205). The radius of the circle is large and there are points which lie outside the map boundaries. The circle gets plotted correctly which would be on both sides of the map. However, there are lines between the top and the bottom of each circle part and the outside of the circle is shaded in. I can't include an image in the post, so i have included a link here (yahoo for lack of a better place to put them): http://new.photos.yahoo.com/dad ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Dynamically casting an object of unknown type

    Hello everyone! I think I've got a tough problem for you. I've got a List<object> full of various types of objects, and I want to grab an element from the list and cast it back as the type of object it actually is. Ideally, what I would do is something along the lines of: List<object> objects = new List<object>(); MyClass instance = new MyClass(); objects.add(instance); object something = objects[0]; Type somethingtype = something.GetType(); somethingtype variable = (somethingtype) something; this works fine except for the last line. Once I have the type of the object, I can't use that to either declare a new variable of that type, nor can I use it for casting (as far as I know). Does anyone know of a way to use Type info ...Show All

  • Software Development for Windows Vista Registru: Unable to find Monitor value EDID on Vista

    Our pre-Vista Win32 program reported on the active monitor info by looping through: HKLM\SYSTEM\CurrentControlSet\Enum\Display ... until it found a subkey called "Control". Once found, that indicated the active display and we then read the EDID value in the "\Device Parameters" subkey for the device in order to interpret the needed data. But in Vista, the "CONTROL" subkey is no longer found, and the EDID is no longer present in the "Device Parameters" (although there is a BAD_EDID value containing all zeros. Is there a way for us to find the same display properties we used to find using the EDID value. Below are the values we used to report by reading and interpreting the EDID: Produc ...Show All

  • Visual Studio 2008 (Pre-release) Operation must use an updateable query.

    Hi folks, I am a ASP.NET Developer.. Now I have windows 2000 OS, Visual Studio.NET 2003.. I Got a Error " Operation must use an updateable query. " When I insert Any Record to MS Access Database... This is My SQL Query.. "INSERT INTO EditGeneral(FirstName,LastName,Gender,RelationShipStatus,BirthDay,BirthMonth,BirthDetShow,BirthYear,BirthYearDet,City,State,ZipCode,Country,Interestedin,Children,Ethnicity,LanguagesISpeak,Religion,PoliticalView,Humor,SexualOrientation,SexualOrientationDet,Fashion,Smoking,Drinking,Pets,Living,HomeTown,WebPage,AboutMe) VALUES ('Selva','Kumar','Male','Single',1,'January','Friends',1996,'Friends of Friends','Madurai','TN','625001','India','0,2,3','No','asian','English (US)','Hindu','right-conservat ...Show All

  • Windows Forms return type

    hi all, we all write the functions with return type as int,double but why we need return type as another class name e.g public class abc() { some code here } public abc functionname() { } why we want return type as name of the class also why we need the return type of function as an object any help......... Thanx Geert Verhoeven , Can you explain me giving example of the above given explanation. ...Show All

  • SQL Server ETL Delta Pulling Huge data.. Right approach ?

    Hi all, In an approach of building an ETL tool, we are into a situation wherein, a table has to be loaded on an incremental basis. The first run all the records apporx 100 lacs has to be loaded. From the next run, only the records that got updated since the last run of the package or newly added are to be pulled from the source Database. One idea we had was to have two OLE DB Source components, in one get those records that got updated or was added newly, since we have upddate cols in the DB getting them is fairly simple, in the next OLEDB source load all the records form the Destination, pass it onto a Merge Join then have a Conditional Split down the piple line, and handle the updates cum insert. Now the question is, how slow the s ...Show All

  • Visual Studio 2008 (Pre-release) System.ServiceModel.FaultException

    Hi when i am writing the following fault exception on my server side it is giving me the following error. System.ServiceModel.Faultexception. My service code is using System; using System.Data; using System.ServiceModel; using System.Diagnostics; using System.Runtime.Serialization; using System.Collections.Generic; using System.Configuration; using System.IdentityModel.Claims; using System.IdentityModel.Policy; using System.IdentityModel.Tokens; using System.IdentityModel.Selectors; using System.Security.Principal; using System.ServiceModel.Description; using System.ServiceModel.Security; using System.ServiceModel.Channels; namesp ...Show All

  • Visual Studio Express Editions Tackling an issue

    Hi all, I'll try to describe this as best I can. If it gets a little confusing, let me know and I'll try to rephrase everything I've said! For the past few weeks I've been trying to get my head around VB2005EE. After reading a few books and tutorials I feel that I'm almost ready to go ahead and build my first "real" program to distribute. The program I have in mind should be nothing complicated, but I'm a little confused on how to build the key feature. Without giving too much away, my idea is to build a large database on every ride, roller coaster and theme park in the world. Each entry will feature statistical information on the particular attraction, along with media (video/pictures), location etc. - this will mean I'll have ...Show All

  • Visual C++ iertutil.dll and normaliz.dll missing on target system, can I redistribute them?

    I have created an application in vc6 c++ dependent on wininet.dll. On my system, I have also recently upgraded to ie7 which seems to have replaced my old wininet.dll with one that is dependent on iertutil.dll and normaliz.dll (two new dlls). When I deploy my application to a computer that is still using ie6, these two dlls are missing. My app crashes. Should and can I distribute/deploy these two dlls along with the app Thanks in advance. Hello Re: iertutil.dll and normaliz.dll missing on target system, can I redistribute them Such questions are outside the scope of this forum - for the scope of the Visual C++ General forum please look at: http://forums.microsoft.com/MSDN/Sho ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How to use managed directX 9 in VB.NET?

    Im sorry if this question is too simple for the experts.. im only 16 yrs old dats why i can't easily understand managed directX9 in vb.net.. i hope someone will teach me how.. the tutorials in the net is for basics.. yah!! i know,, i must start from the basic,,but how about if i finished that tutorial where can i find other tutorials that will continue my knowledge my target is to make a 3d game.. please "experts" teach me... thanks in advance! ...Show All

  • Software Development for Windows Vista Where to store common config. files for all users to access

    I work for a company that designs and manufactures an industrial machining tool that is PC based. We are trying to get our applications so that they are compliant under the Windows Vista UAC. In the past, the initialization files for the software that runs the machine have been stored in C:\Program Files\[Our Application Directory] . Our software will read and write to those initialization files depending on how the user sets up the machine. The software (and the machine) therefore is dependant on one set of files regardless of who the logged-in user is so that critical variables are maintained. The problem is that Windows Vista UAC no longer allows writing to the directory where our application is located. Instead, it stores to a V ...Show All

  • .NET Development Using Api Function SetNamedSecurityInfo in C#

    I try used with SetNamedSecurityInfo API function in C# and it's not work the function not set the new owner to the file. =================================== Example of my Code public class Test { public Test() { int cbSid = 0; string systemName = null ; string accountName = "SomeUserName"; //System.Environment.UserName; IntPtr Sid = IntPtr.Zero; StringBuilder sb = new StringBuilder(); StringBuilder domainName = null ; string SidString = null ; int cbDomainName = 0; int use = 0; int retValue = LibWrap.LookupAccountName(systemName,accountName,Sid, ref cbSid,domainName, ref cbDomainName, ref use); domainName = new StringBuilder( cbDomainName ); Si ...Show All

  • Windows Forms DataTable sorting

    I checked the DataTable.Select methods .. and all i want is to get all the rows in the datatable in an order. I don't need to specify a filterexpression .. since i want all the rows to be sorted .... How can i achieve it you could use a DataView and sort it... DataView theView = new DataView(theDataSet.Tables[0]); theView.Sort = "ColumnName sortOrder "; sortOrder = DESC or ASC. does this help ...Show All

  • .NET Development How to Access Private Fields of Base Class through Reflection

    Hi , I want to get FieldInfo of private field of base class through passed object.How can i do that eg. I am using this : FieldInfo[] fields = objectInstance.GetType().GetFields(BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public ); But it is returning only public data members of base class , how to get private data members of base class. Thanks, Nitin Actually I have Two Classes one inherited from Another. I have object of Derived class through which i have to access private data members of base class.Like this : Public Class Base { private Dictionary<string, Caption> m_dictCaptions; private Hashtable m_myTable; } class Derived : Base { private stri ...Show All

©2008 Software Development Network