QbProg's Q&A profile
Gadgets I need help.
I tried making a sidebar gadget recently. I used codes from JavaScriptKit.com to do so. Everything went well untill I tested it out on my computer. A screen popped up saying "This is not a valid gadget packet." I'm pretty new to creating gadgets, so what does this mean, and could someone help me make it real Here's my code: <body>The Date is:<script> /*Current date script credit: JavaScript Kit ( www.javascriptkit.com ) Over 200+ free scripts here! */ var mydate=new Date() var year=mydate.getYear() if (year < 1000) year+=1900 var day=mydate.getDay() var month=mydate.getMonth() var daym=mydate.getDate() if (daym<10) daym="0"+daym var dayarray=new Array("Sunday","Monday","Tuesday","Wednesday"," ...Show All
Windows Forms Listbox multiple selection
Hi everybody I have two listboxes. I have set the selectmode to multiple but when i select multiple items from listbox1, and then clcik ADD button, only one item is getting added How can i add all the selected items at a time I am using Protected Sub btnAdd_ServerClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnAdd.ServerClick Dim licCollection As ListItemCollection licCollection = New ListItemCollection() Dim intCount As Integer For intCount = 0 To lstAllAccounts.Items.Count - 1 Step intCount + 1 If (lstAllAccounts.Items(intCount).Selected = True) Then licCollection.Add(lstAllAccounts.Items(intCount)) End If Next Dim intCount1 As Integer For intCount1 = 0 To licCollection.Count - 1 Step intCount + 1 lstAllAccounts.Ite ...Show All
SQL Server Sql Server Project Visual Studio Crash
I'm having trouble with CLR based user-defined functions. When I create a database C# project in Visual Studio 2005, the dialog to pick the database connection doesn't apprear. Except for that, the project seems to be created normally. I am able to write and build my project without a problem. When I try to release, it says that the connection isn't defined. I do a Project ==> <projname> and then select the database tab on the side. I am unable to type in a connection string because it's grayed out. When I hit the browse button. Visual Studio crashes. I have one thrid-party Visual Studio installed, Sybase PowerDesigner. I also have the SQL Server 2000 and 2005 client tools installed. I tried uninstalling the P ...Show All
.NET Development Usage of FxCop 1.35 for ASP.NET 2.0 Web site
Hi all, Can any body help me out in doing Code-design/review through FxCop 1.35 for a ASP.NET 2.0 website as i am not able to do them for my BAL(business access layer) classes and DAL classes coz. it does not create a .NET dll so that i can add them . Regards, sreedhar Thanks Rodrigo, Let me check my installation in detail Its VS2005 Professional Edition. Let me check something has to be enabled or not.. Regards ...Show All
Windows Live Developer Forums Is there any function to call javascript function which is in html file in vc built-in web browser application?
Is there any function to call javascript function which is in html file in vc built-in web browser application ...Show All
Software Development for Windows Vista Webservice Workflow with Dynamic SetState Activity
I am writing a webservice workflow using Visual Studio 2005. I am trying to add in a Hold State in my workflow so that users can temporarily hold an approval process or something. I can use recursive composition to create an event so that the Hold State can be reached from any other state. The problem is --- how do I then return to the previous state before the Hold State I have tried to set the TargetStateName property within my workflow class (inherited from StateMachineWorkflowActivity) in a CodeActivity but I get a InvalidOperationException. It seems that I can't set the state within StateMachineWorkflowActivity while running. Thanks for any help. Well, the problem becomes how do I get an ...Show All
Visual Studio Sndcastle: why XML docs needed for 3rd party dlls
Just downloaded and installed Sept CTP for Sandcastle and the Sandcastle help file builder GUI. Immediately ran into either one of two problems - errors about "can't find assembly" on a dependency - insisting on following all the dependencies. - error about not being able to find a .xml file for a 3rd party dll (for which I don't have). Questions - why must all dependencies be resolved - I only want to document the top level classes - why must all the dlls have xml files I got things working by faking out a shell of a .xml file for the 3rd party dll, but unclear on why this these requirements on dependencies/xml files exist. Neil T. Ahh, was not clear on the role of dependencies. Not a lot of documen ...Show All
Game Technologies: DirectX, XNA, XACT, etc. can't build space wars; attempt causes VS 2005 to hang
I have Visual C# 2005 Express and Game Studio Express. I've been working with random projects in 2005 Express and they compile and run fine. I was able to build and run the "Your First Game" tutorial without any problems. I created a new SpaceWarWin project; this seemed to go fine. But when I start to build it (F5, F6, ctrl+F5, right-click+build), the status output (lower left) says "Build Started...", but no build appears to actually start, and my entire machine slows to a crawl. No freeze/hang, mind you, just everything very, very slow. Task Manager shows 2005 Express as "Not Responding", and my CPU jumps to ~50% and just stays pegged there, though there's no disk activity and nothing apparently happening ...Show All
Software Development for Windows Vista Urgent workflow initiation query
I am currently trying to implement a custom workflow in Microsoft Sharepoint server 2007 and have successfully done it but the issue is that i want to have a list of my workflows on the main page, clicking on which shall make user initiate that particular flow (by displaying its initiation form) instead of the the de-facto way which in on adding an item to the document library or list Is it possible to do so If yes, any hints or help would be highly appreciated. (As i have to decide if to go for SPS 2007 or build my own custom workflow asp.net application) Please post this question on the Sharepoint forums. this might help: http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=881&SiteID=1 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Need help with joint rotations
Yes, I'm creating my own skeleton system. I'm getting some strange behavior. I have the following recursive function to set the global transformation matrix for each joint. I know I've named a class bone, but more accurately, it should be named joint. public void SetGlobalMatrix(Matrix parent) { Matrix quat = Matrix.CreateFromQuaternion(m_orientation); m_globalTransformation = parent * m_translation; Matrix temp = m_globalTransformation * quat; foreach(Bone bone in m_children) { bone.SetGlobalMatrix(temp); } } The translation matrix is creating with the following function: public ...Show All
.NET Development System.Data.SqlClient.SqlException Number property
Hi The documentation for the SqlException class's Number property states 'This number corresponds to an entry in the master.dbo.sysmessages table.', however, I have encounter a couple values that aren't listed in the sysmessages table. Could someone please provide a list of values for the Number property, which do not appear in the sysmessages tables The reason I need this information is for implementing connection retry support for a Sql Server 2005 database cluster. Thanks Some errors are system level error codes that have nothing to do with SQL Server itself, but are generated by services SQL Server uses. For instance, error 2 is FILE NOT FOUND. Error 53 is "Network path not found" o ...Show All
Visual Studio Tools for Office .Net Excel Add-In project: How to add Custom function on excel sheet cells.
Hi, Anybody know the best atricle related to excel automation in which my subject has been covered. Because i have worked in excel VBA and made same custom functions which get values from database based on given parameters and then put values to excel cells. And you know if i provide a parameter from excel cell (that is reference from excel cell), when i update a value in that cell my custom formula automatically updated according to the value in the reference cell. Any better suggestion or link for this regard will be highly appriciated. Best Regards, Haseeb Ahmad. Haseeb, This may not be the correct forum for your question as it sounds like more of an excel macro issue then VSTO. However, I'm having a bit of trouble ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Where is the download?
It is 12:48 pm here (GMT + 1)... in Nuku'alofa (GMT + 13) it is tomorrow... So where the hell is my download link :-D It's just gone Close of Business 30/08/2006 here in Oz. Please Santa, bring it on!!! ...Show All
Game Technologies: DirectX, XNA, XACT, etc. I'd like to have a game developed...but I need a partner.
I teach 1st grade. I have an idea for a simple 2D (Phonics) game...but I don't have any skills as a programmer. I wanted to know if any programmers would be interested in a partnership The game basically involves a little character running around the screen to pick up letters and form words. The character would have to avoid certain obstacles on screen. The game would require a lot of speech to sound out the words that the onscreen character created. Anonymous X wrote: For those who said they have kids... What kinds of educational toys/ PC software has your child used. Did the software/ toys keep their interest for extended periods of time Did you find the s ...Show All
Visual C# array type conversion operators
How can I define in C# an implicit conversion operator from myClassA[] to myClassB[] You cannot. An array of myClassAs is not an array of myClassBs, even if myClassA is derived by myClassB. The best you could do is a method which creates a new myClassB array, and fills it from a myClassA array. ...Show All
