Paul Sampson's Q&A profile
Visual Basic Controls Flickering when drawed on the form
Hello there :) This was a Problem in Visual Basic 2003 when having a Form with about 150 Controls the form simply consists of panels and those panels have Labels and controls beside hem the form itself has a background picture ,,, the Panels also have backimages the Problem is when the form is shown the controls are being drawn really slow ... (the form is 1024*768) that wasn't a Problem at all back in VB6 anyway I saw that Visual Basic 2005 has ...Show All
.NET Development send mail with MailMessage object
I want to send mail in html format with MailMessage object. I found that if the body of my mail contains these html tags:object,script.iframe, these code fragment will be filtered. For example. the body of my mail is like this: <img src='a image url'> <hr> <object><embed src='a swf url'></object> When I received this mail . I found that what I received is : <img src='a image url'> ...Show All
Windows Forms Jumbling 30 picture boxes - challenge to you all
A small challenge for those interested: Who can create the easiest way of jumbling 30 (small 76,72) picture boxes in a 6X5 layout at the press of 'button1' so that they all swap position and this process could be done again and again to swap pictures around randomly each time Picture boxes are named. pic1, pic2, pic3 .... pic30 and the positions of these picture boxes from left to right are as follows 12,79 94,79 178,79 261,7 ...Show All
Visual Studio Express Editions Font combo box
Does anyone know how to retrieve a list of all the fonts on a system, and populate a combobox with them Please help. Thanks, ComputerGuru. Fonts.GetFontFamilies will do it, but it needs the fonts folder. I believe you can use the Environment class to work out where that is. ...Show All
SQL Server Importing Data from a SQL 2000 Database
Hey there, this is probably me being very dense but i'll let you all tell me that anyway. I have a production database which is SQL Server 2000 and I have a SQL Server 2005 database which is a copy of this database taken about a month ago. I would like to set up a scheduled job to run every morning that will update the data (and only the data) in the 2005 database so it matches the production data. I've been trying to create a package using the ...Show All
Visual Studio Team System Errors with all reports on Project Portal page
I just created a new team project. From the context menu of the new team project, I chose "Show Project Portal". All three of the report panes contain error messages similar to: An error has occurred during report processing. (rsProcessingAborted) Cannot impersonate user for data source 'TfsReportDS'. (rsErrorImpersonatingUser) Logon failed. (rsLogonFailed) &n ...Show All
Visual C++ Unmanaged void* to .Net System::Array
I have an unmanaged C++ class representing a 2D matrix. It holds a pointer to a block with the actual data, and fields indicating the number, size and type of the matrix elements. Like this: public class UnmanagedMatrix { public: void * block; long rows; long cols; int type; //refers to an enum of possible types - char, long, double, etc. long sizeOfBlockType; ... } I am writing a managed wrapper to use this class from within .Net with a m ...Show All
Visual C# Converting A Formula Into A Number
Hi, I have a little problem converting a formula into a number. I have a string that is a formula (for example: "2 + 4 + 6") and i want to convert this formula into a number by using some kind of function. Does such a function exist in C# If not, is there another way to do this thanks, Tomer I take it you want the solution to the formula as the output. No there is no such thi ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectSound problems
I have installed the DirectX SDK. I found that the namespace Microsoft.DirectX.DirectSound isn't available. I assume that I need this namespace to use DirectSound in managed code. How can I fix this I see it just fine. What SDK version are you using Are you using the MDX 1.1 or 2.0 libraries What does your list of references show when you try to add DirectSound Are any DirectX assemblies in the reference list ...Show All
SQL Server add subscriber in publication database`
Hi ...i am new to sql server replication, im using the sql server 2005. I was configure the replication n publish a database , i wanna add a new subscription, but i am facing the follow error You have selected the Publisher as a Subscriber and entered a subscription database that is the same as the publishing database. Select another subscription database. How do i add another subscription database,since in my sql server has only 1 subs ...Show All
Software Development for Windows Vista SQLTrackingQuery from Workflow
Hi, can I call SQLTrackingQuery from workflow to get data about activities that are finished successfully I would like to put one code activity in the end of workflow, pick up all tracking information and send it out in some way, it is not important how. I don't want that procedure on host, I want to keep host as simple as possible, and do in workflows as much work as possible. Thanks, Igor Just for ...Show All
Software Development for Windows Vista Windows Workflow Foundation
How can I get the windows workflow foundation version Yes, I know, but I need to know the Beta version 1.2 or 2, I think that xoml format make the difference. Thanks ...Show All
Visual C++ I have a problem with AfxBeginThread()
I want to create a worker thread but i recive an error like this: my code: UINT ReadCD(LPVOID lp) { .//Some Code// . . return0; } . . . AfxBeginThread(ReadCD,NULL); Error:"error C2665: 'AfxBeginThread' : none of the 2 overloads can convert parameter 1 from type 'unsigned int (void *)" This is true. You can pass the pointer to the object into the LPARAM value of the thread function. Inside t ...Show All
Visual Studio Express Editions When will be the final release?
when will be the final release all this Express Edition thanks in advance... More Power Microsoft! Visual Studio 2005 will be released on November 7, 2005: http://blogs.msdn.com/somasegar/archive/2005/08/22/451026.aspx I guess this refers to all editions, including Express. ...Show All
Windows Forms How to get the publisherr name?
I need to know the publisher name and published product name (not the application product name which is found in assemblyinfo.vb/.cs) when my ClickOnce application is running. Where are the information stored If you are using VB2005 then you may find it under publish tap Right Click project then select properties. Select Publish tab Click options Then you can see (and update) Publish Language, Publisher name, Product name, and ...Show All
