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

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

DanHaligas

Member List

minority80
GaiaGeeks
Tdah
ehsan sadeghi
Samir Lakhani
mikstr
Niro
SY Tee
polymorphicx
Dumbo51
DoonNicolas!
GazCoder
Ejele012
imdqa
dszhou
gorla
softvirgo
pessi
TruePsion
chakravarthy_b
Only Title

DanHaligas's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Problem wih Beta 2

    Hi, i was trying GSE beta 1. It was working ok. Now i have just installed Beta 2 and i got problem. When i try to do: m_spriteBatch = new SpriteBatch(GraphicsDevice); i get exception "The method call is invalid." also when i try to run code that we can find in XNA GSE Programming Guide : Use BasicEffect i get exception "Both a valid vertex shader and pixel shader (or valid effect) must be set on the device before draw operations may be performed." in line "graphics.GraphicsDevice.DrawPrimitives...." does any one know how to fix this problems thanks for any help! Ampers wrote: ... people of MS, what do we do if we want to use XNA My code copiles perfectly but I can't te ...Show All

  • SQL Server Failed to Initialize CLR Errors

    This was running fine for two months and yestday we had to do a reboot. We then tried to execute some of our CLR functions and are now getting the below error What can I do to check that all is ok Msg 6511, Level 16, State 82, Line 2 Failed to initialize the Common Language Runtime (CLR) v2.0.50727 with HRESULT 0x8007000e. You may fix the problem and try again later. Could you try to register the same assembly when the server just started Let me know what happens. thanks Xiaowei ...Show All

  • Windows Forms C#: Master/Detail

    Hello, I have a Master/Detail relationship in a Windows form Application. My Master table in shown in a DataGridView, but my Detail table is shown in a bunch of TextBoxes. I have the following codes to save the changes in the Master and Detail Tables when users press the save button: Validate(); MasterTable_BindingSourse.EndEdit(); CustomerDataSet.GetChanges(); MasterTable_TableAdapter.Update(this.MyDataSet.MasterTable); DetailTable_BindingSourse.EndEdit(); DetailTable_TableAdapter.Update(this.MyDataSet.DetailTable); My problem is that when users change the records in the Detail table under different Master records and then press that save button, it updates all Master Table records that have been changed but it just updates th ...Show All

  • Windows Live Developer Forums search list of addresses

    is there any function that takes a list of addresses then returns a map contants all the addresses on it with push pins I do not believe the API currently allows you to submit an array of addresses as a search parameter. You'd need to write some manner of a proxying method that would Find() each individual address and then translate each of the VEFindResult objects into individual pins by lat/lon. ...Show All

  • SQL Server Can't connect to SQL Server 2005 Express from another machine

    I know there have been many posts made on this subject; however, despite the resources available, I have not been able to get this to work! I've spent time working on this here and there over the last couple of months only resulting in frustration. I am finally posting to solicit help for my situation to figure out what is wrong with my SQL Server or firewall configuration. Two machines connected to a router, one wireless, one wired. Both have SQL Server Express and the Management Studio tools installed. From either machine I can connect to its local SQL Server Express instance. I have enabled Shared Memory, Named Pipes, TCP/IP, and VIA in the SQL Server Configuration Manager. (BTW what is VIA ) I have added sqlsrvr.exe and sqlbro ...Show All

  • SQL Server Data encryption and keys

    Hi, I would like to encrypt data in my database. I want encrypted column value to be viewable only for certain group of users. Users that has access to my database doesn't meant they can access to my encrypted data. Currently, I am using the following "approach" as my key management. create master key encryption by password= 'MasterKeyPass' CREATE ASYMMETRIC KEY MyAsymmKey AUTHORIZATION MyUser WITH ALGORITHM = RSA_1024 ENCRYPTION BY PASSWORD ='MyAsymmPass' CREATE SYMMETRIC KEY MySymmKey WITH ALGORITHM = DES ENCRYPTION BY ASYMMETRIC KEY MyAsymmKey My data will be encrypted using Symmetric key MySymmKey. User who want to access my data must have MasterKey and MyAsymmKey password. Is it OK Any better way Thank you ...Show All

  • Visual Studio Express Editions Mysql Or Access

    Could someone tell me the advantages using mysql rather then access as the backend of the database I should imagine speed is one issue but I dont find access that slow. And on deployment issue's am I correct in thinking : Access Way: consumer only needs to install .net framwork 2.0. Mysql Way: consumer needs to install .net framework 2.0 & Mysql Server If you are using a database for more than one user, then you should use a database (engine) designed for the purpose (it wasn't clear from your posting what your intentions were/are). This means MySQL, Oracle, SQLServer. All have freely available versions you can use. You can use an Access database, but remember that it is file based (just a ...Show All

  • Visual Studio Team System Help me!!!

    When a variable is declared, the compiler will give the variable a default value. Such as When I declare like this “ int i;” , the compiler will give 0 to “ i“ So In the IL code is there any difference between “ int i;” and “ int i=0” If there is no difference between them, is there any other method to get the difference If you are looking at the differences in the IL code though, are you looking at the output with debug or optimized If you are interested in looking for occurences of unnecessary initialization, you can use FxCop, which is available as part of Visual Studio Team Edition for Developers and Visual Studio Team Suite. Also available via download from http://www.gotdotnet ...Show All

  • Visual Basic FORTRAN and VB creating a memory error...

    So I'm trying to use the NIST SUPERTRAPP code (written in FORTRAN) that calculates gas properties in a program I'm writing, I've been able to get it to work in VS2003 but when I link the dll to a piece of code I had started writing previously in 2005, I run into a problem. I run it the first time, no problems. I run it a second time, and when it tries to match the components that make up the gas I'm using ( see below ) VB throws and exception telling me that: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. This occurs on this line: IF (NAM(N) .EQ. NSYNM(L)) GO TO 060 . All this is doing is taking the entire list of known gases in an array (NAM) and comparing it to the synonyms for them ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Some thoughts on XNA Game Studio / Framework

    First of all, I'd like to note that what Microsoft is attempting to do with XNA is commendable. Game development is notoriously hard, getting harder by the month in fact. So Microsoft's goal of simplifying the process, opening it up to a whole new audience of student and hobbyist developers, is a natural one. However, actually attaining that goal is going to take a lot more than XNA. Here's why. The process of game development is difficult for a variety of reasons. When a new programmer first begins to learn game development, the earliest things they will have trouble with are things like wrangling the windowing system into doing what they want it to, reading input, drawing triangles, and loading content into their app. But once they've le ...Show All

  • Windows Search Technologies Sending an email in Windows 2000

    I have a user who can drag and drop a PDF into an email and send with no problems. However, when he right clicks on the PDF on the desktop and send to>mail recipients. The message will look like it sent, but when trying to open somethign else it freezes up and he's unable to do anything. I noticed that during this time, I could open taks manager and delete the explorer.exe on the processes tab and then go up in task manager>new task, and enter explorer.exe and it would bring back the desktop and I'm able to open things again. It seems to me to be a explorer issues. Does anyone know of an update or registry fix possibly for this He is using Windows 2000 operating system with Adobe Professional 6.0. Thank you ...Show All

  • Visual Studio Team System Database objects not getting created in .sql file

    Hi, I'm experiencing some peculiar behaviour when building my datadude project When I right-click-->Build the resultant .sql file does not contain any of the objects (tables, keys, sprocs etc...)within my project. I have checked each individual object and they all have BuildAction='Build'. Anything that has BuildAction='PostDeploy' DOES end up in the resultant .sql file. The even stranger thing is that all those objects have been in my project for some time. I then added a completely new table and then built the project again. The resultant .sql file ONLY contained the creation statement for this new object (plus all the BuildAction='PostDeploy' stuff). This behaviour is consistent across both of my data ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. 2D Animations

    Am use the Animation class that I found in the xna doc under 2D. I would like to a Shape class that take two animation classes. So that I could do something like this: currentShape = new Shape(anim1, anim2); currentShape.Draw(sb, anim1.pos, anim2.pos, Color.White); In the xna docs under Progammer guid. There is a explame of a animation Class. What I have is 10 animation image maps. Right now am able to use rand(0,9) to draw one of the animation map  to the screen and have it fall down. But I need two of them like this:  A  BA   B   AB  B           A Where A&B are are the animation maps. A will ro ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. "Use of unassigned local variable" error on Xbox360 but not Windows

    Anyone know why the compiler produces an error when the following code is compiled in an Xb0x360 project but not when it is compiled on a Windows project public void GetTileRect( int tileX, int tileY, out Rectangle tileRect) { Rectangle myRect; myRect.X = tileX * tileWidth; myRect.Y = tileY * tileHeight; myRect.Width = tileWidth; myRect.Height = tileHeight; tileRect = myRect; } I get a "Use of unassigned local variable 'myRect'" when assigning it to tileRect. It's not a big deal, I can get around it by simply using "myRect = new Rectangle()". I'm just wondering why it works in one case but not the other. you know, I came across this ve ...Show All

  • Software Development for Windows Vista Workflows in Sharepoint

    Hi I created a sample workflow using the VS extensions for windows workflow foundation. After buiding the solution and changing the feature.xml, workflow.xml and install.bat Now I'm trying to verifyformtemplate my published xsn forms. Following error is coming. FatalErrorNoThrow : This form template has not been correctly published to be browser-enabled. Open the form template in InfoPath Design mode, and click Publish Form Template in the Design Tasks task pane. Follow the steps in the Publishing Wizard to republish the form template, and then try again. I have no clue why is this coming..........I'm verifying the published forms only.... Any help would be greatly appreciated... Thanks Manu Si ...Show All

©2008 Software Development Network