funkmonkey's Q&A profile
Visual Studio Express Editions Learning Resources Zip File
I was going throught videos on learning Visual Basic 2005 Express Edition and in lesson 2 (I just started) he says that you can download a learning resources .zip file from the location where this video was. I can't find the file anyone know where it is We are talking about tool strips and adding images tot he button and the zip file supposidly has the images. Thanks, Rick If you went to the download page for the videos I can't quite understand how you missed the link to the source files! http://msdn.microsoft.com/vstudio/express/visualcsharp/learning/default.aspx Go to that page. Download the source files. The source file for video 12 contains the folder with the GIF's that are used in the se ...Show All
.NET Development dataset
Hi, In regards to updating the database with the data in a dataset, I currently loop through the records in the dataset and get the state of each row and then call the necessary stored procedures to do the delete or update or insert into the database. Recently I read that the same thing can be simplified by using the dataAdapter.Update() This seems to be an easier way since I do not have to do the loop on each dataset record and get the state of it... What do you think please Thanks yes, you should use the DataAdapter and perform the Update() on it, making sure that the UpdateCommand, InsertCommand and DeleteCommand are implemented in order to do the update correctly to the database. you could also ...Show All
Visual Basic Having Trouble installing Visual Basic.net 2003
Hi Guys, can anybody help me cause I'm having trouble installing Visual Basic.net 2003. I have all the necessary requirements installed((.net framework 1.0, 1.1 and 2.0), outlook server ext. and IIS) but for some reason it doesn't continue to the installation inter face it just keeps on bringing me back to the needs to install windows components update interface. I tried checking if there is anything else I need but it seemd that I've covered everything. I've also tried using this syntax C:\vb.net\VBSTDD1\setup.exe /NO_BSLN_CHECK to bypass prerequisites needed. If there is any help that can be given I would really Appreciate it. Thanks!!! Hi Joshua, Thanks for the tip but I've already tried doing those steps but its st ...Show All
Visual C# Copying a content of ArrayList to another ArrayList
Hi I have an ArrayList. I want to copy the members of the ArrayList to another ArrayList in the Ctr of a certain class. The thing is, when I copy the content of the first ArrayList to the second one, every change that I make in a member from the second ArrayList also changes in the first ArrayList. How can copy the content of the ArrayList to a different ArrayList so each of them will be independent Or is there a better way to do that The Clone() method should return a new object with all properties of the cloned instance - therefore it might be necessary to implement the method in every child class again ... Greets ...Show All
.NET Development COM Interop apartment issue - QueryInterface failing?!?
I have a solution consisting of two projects, an in-process COM DLL server and a .NET 2.0 C# windows application. (this is a simplification of my issue, but I've manged to repro it with this setup). (A lot of code follows). The COM component's IDL is: [ uuid(703642F5-3FF0-4b47-A856-8B7A0878EFCD), version(1.0), helpstring("SimpleCOMLibrary") ] library SimpleCOMLibrary { [object, uuid(B51D2FCA-2258-44c2-961F-C7F52DFA2833)] interface ISquare : IUnknown { HRESULT SquareFloat([in] float value,[out,retval] float *retval); } importlib("stdole2.tlb"); [ uuid(50D5FA7D-B195-42a9-963C-B741D69E7F28), version(1.0), helpstring("SimpleComLibraryClassObject") ] coclass SquareClass { [default] interface ISq ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Changing sprite origin from top-left to center
In the XNA help I see the following: The origin is a specific point on the sprite—by default the top left of the sprite (0,0). How do I change the origin to the center of the sprite Is this something that is done in the DirectX Texture Tool Thanks in advance! When you draw your sprite, the following overloaded method can set the origin of your sprite. There are other overloads available to suit your needs. Check the overload list for the Draw method in the Help. The 'origin' parameter is a Vector2. spriteBatch.Draw(myTexture, position, null , Color .White, rotation, origin, scale, SpriteEffects .FlipHorizontally, layer); ...Show All
Windows Forms Adding new project to publish
HI all, I added a new project to solution and when I try to publish I am getting Can not publish because a project failed to build. On the other hand when I build the solution I am not getting any errors. If I exclude the project it is working fine.I checked the application files and the new project shows up and I included them as well. [The new project I added is also windows application while all the other modules I have included are all class library. So, I should have only one windows application in solution ] Can someone tell me what am I doing wrong here Thanks in advance. ...Show All
Visual Studio 2008 (Pre-release) Can't Get WAS Host Tcp Sample to Work
I am running Vista and am going though the Windows SDK Hosting samples. I can get the NamedPipeActivation sample to work under WAS, but I keep getting this error with the TcpActivation sample: "The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:00:59.9589870'." The inner exception states: "An existing connection was forcibly closed by the remote host." I have successfully built the sample and run the AddNetTcpSiteBinding.cmd batch file. IIS 7 Manager shows a binding of type "net.tcp" with a host header "808:*". I am able to con ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Power of XBOX360 - raw triangle power
Hi, I was wondering if it was possible to compare the graphics power of XBOX360 to any of current gfx cards. Say, if it`s capable of rendering same amount of triangles as e.g. GF6800 does. The old XBOX was usually compared to GF3 in terms of graphics performance. The reason I ask is, that I would like to know the general boundaries of the raw gfx power, since I`m planning on converting some of my current games to XNA (and later to XBOX360) as soon as it becomes available. Currently I`m pushing the GF6800 card to its limits, which means I`m rendering a range of 0.5M-1.0M triangles (all unique, non-instanced) per frame and it seems that GF6800 starts to slow down when it crosses 1M barrier. No pixel shaders there, just Vertex Shader ...Show All
SQL Server Convert varchar to date on a column
I have a table with a column defined as a nvarchar. The strings contained in the columns are in the form of YYYYMMDD. I searched the forums here and believe that if I have a date as a string then YYYYMMDD is the correct format for a date stored as string. However, I think I need to store the date as a Date type for selecting, sorting, searching, and indexing. What is the best method of converting the entire column to a Date type from a nvarchar type with the assumption that all the string dates are in the same YYYYMMDD format When I tried to modify the table using the Managment Studio Express, I get a warning: "Data might be lost converting column 'Date' from ...Show All
Visual Studio The infamous "No symbols have been loaded for this document"
Situation: I have a C# WinForms app and an unmanaged C++ DLL. Full debugging info has been turned on for both C# and C++ When I set a breakpoint in the C++ DLL and run the application, the solid red breakpoint symbol is replaced by a circle with a small "!" in the lower left. The tooltip says "The breakpoint will not currently be hit. No symbols have been loaded for this document." In the debugger Modules window, I can see every loaded DLL *EXCEPT* my C++ DLL. If I use another tool (Process Explorer), I find that my DLL is actually loaded by CSInterop.vshost.exe (my C# project is called CSInterop) I've googled extensively on this problem, but the results tell me to turn on debugging (it is), and to clean and rebuild the ...Show All
SQL Server Help! The transaction log is full error in SSIS Execute SQL Task when I execute a DELETE SQL query
Dear all: I had got the below error when I execute a DELETE SQL query in SSIS Execute SQL Task : Error: 0xC002F210 at DelAFKO, Execute SQL Task: Executing the query "DELETE FROM [CQMS_SAP].[dbo].[AFKO]" failed with the following error: "The transaction log for database 'CQMS_SAP' is full. To find out why space in the log cannot be reused, see the log_reuse_wait_desc column in sys.databases". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly. But my disk has large as more than 6 GB space, and I query the log_reuse_wait_desc column in sys.databases which return value as "NOTHING". So this confused me, any one has any exp ...Show All
Game Technologies: DirectX, XNA, XACT, etc. FileNotFoundException
Running the game get's me: System.IO.FileNotFoundException was unhandled Message="The specified module could not be found. (Exception from HRESULT: 0x8007007E)" Source="MySpacewar1" StackTrace: at Spacewar.Program.Main(String[] args) at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args) at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args) at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.Threa ...Show All
Visual C# Exception Breakpoint on Application Termination
I am using C# 2005 Express edition. My application runs fine but on closing I get the following message (for some reason I can't take a screenshot of the dialog) The exception breakpoint A breakpoint has been reached (0x80000003) occurred in the application at location 0x7c90130 This happens in the debug version and release version. My first reaction was that I had left a breakpoint in the program, my second that it is related to the debug version. I am new to C#2005 and could not find any swicth to change the build type from debug to release so don't know if calling for a Build automatically created a Build version. I would like to get rid of it since it would be annoying for my users Thanks in ad ...Show All
Visual Studio Team System (sharepoint) accessing document library as regular folder win2k3 sp1
Hi, I have a Sharepoint specific problem on my TFS server: When using windows xp as a client I can access all document libraries as regular folders in the windows explorer ie: \\myserver\sites\mysite\mydocumentlibrary While on Windows Server 2003 (standard sp1) I cannot. (Note: this is not the same as TFS, but used as a regular client.) Accessing the folders as web folders in my network places or from Word 2003 is not a problem. I have tried uninstalling IE enhanced security on the win2k3 server. Thank You Snorre Hi, The problem is likely that the 'Web Client' NT service is not enabled on your W2K3 machine. It's enabled by default on XP, but not on W2K3. Open the 'Services' applet from 'Adm ...Show All
