BobM68's Q&A profile
.NET Development How to retrieve an image from Access DB and display in a pictureBox of Windows Form?
In a table of Microsoft Access DB, images are stored in an object-type column. Now I want to retrieve them out and display in a pictureBox of Windows Form, how to implement that with C# Using Graphics.DrawImage If so, how to construct such an image object Had better give me some sample codes if possible. http://www.eggheadcafe.com/PrintSearchContent.asp LINKID=799 The code sample available for download i ...Show All
Visual C++ C++ Intellisense in VS2005
I would like to use xml bases comments for unmanaged C++ code in VS2005. The documentation seems to be a bit fragmented either talking only about assemblies (which I don't have because its unmanaged) or talking about the simple // comments that Intellisense picks up and existed in 2003. I see I can generate the xml file using the /doc option and it does work . But there is no information on how to get this hooked up with Intellisense ...Show All
Visual Studio DSL using languages
Some of the scripting languages use what is called 'MOP'. An object can implement special methods and if a non-existent method is called on the object it is routed to this special method. They call it meta-programming and a DSL can be written for a particular domain using languages like this. What is the difference between what the VS tools are trying to achieve and these language based D ...Show All
Visual Basic Beforeclose event problem
Hello, I am new to visual Basic 2005. I am facing problem that in Beforeclose event after setting cancel=True workbook closes.Please help me to overcome this problem. Code is given bellow: Dim WithEvents xlApp As Excel.Application Dim WithEvents xlbook As Excel.Workbook Dim WithEvents xlsheet As Excel.Worksheet Private Sub xlbook_BeforeClose( ByRef Cancel As Boolean ) Handles xlbook.BeforeClose If ...Show All
Visual C# C# equivalent to C "union"?
Is there a C# equivalent to the C union typedef I have a 64 byte array that can either be byte or int (USB data packet). I would like to be able to access these bytes as either type. In C I would declare: typedef union byte_array { struct { byte byte1; byte byte2; byte byte3; byte byte4;}; struct { int int1; int int2;}; };byte_array ...and access them by: byte_array myarray; mybyte = myarray.byte1; myint = myarray.int1; ...Show All
Visual Studio Will Crystal Reports solve my problem?
G'day, I got a question which I hope someone can answer. At the moment I am running Access 2003 at my work however my boss now wants a change over to SQL 2005. In Access when the database is loaded up the user it presented with a form with various buttons to other forms. These forms include a Data-input form and a mail-merge to MS Word. In changing over to SQL 2005, I after much research have come to realise that Visual Studio.Net ...Show All
Visual Studio Express Editions VB6 checkboxes with MS access problem
hi, i use vb6 connect access2003 with ADO DATA Control. My database is contain one table and many fields My form is contain many checkboxs and radio controls as; 1.chkCheck(0) 2.chkCheck(1) . . . 18.chkCheck(18) and 1.opt1(0) 2.opt2(1) 3.opt3(2) if i choose any 10 checkboxs and one option control then i would like to put the chkCheck(i).caption and opt1(i).caption on one field of Access named "SummaryInspect". I write this code bu ...Show All
Visual C# ~ operator
hi, i don't understand the bitwise operator at all particulary this ~ i know if i used it as a prefex for a method carry the same name as the class it will be the destractor but what does those operator mean in this code if (oldFont.Bold) { newFont = new Font (oldFont, oldFont.Style & ~ FontStyle .Bold); } else { newFont = new Font (oldFont, oldFont.Style | FontStyle .Bold); } this code simply format ...Show All
Visual Studio Team System Automating a web test
May I first say "thank you" to those who have answered my prior questions about coding web tests. Summary: My overall goal is to write a simple web test that places a test order on our web site, and then be able to schedule that test to run once per day. If the test fails, I'd like to either store that in a database, or email someone. Here's some difficulties I've run into so far: There is no exposed property in the post ...Show All
Visual C# Releasing an Excel Object
believe that I am releasing the object. I then attempt to Delete the file in the string path but VS continually says the object is in use by another process. I have pasted the code below. I have attempted to use the commented code without success. When VS gets to the 'File.Delete' comand the exception occurs that says the file is in use by another process. // Need the following code to clean up and extingush all references!!! objExcel.U ...Show All
Visual J# unable to open C# solution after converting it using JLCA
Hi, i am using VS.Net 2005 Beta 2, successfully converted a J2EE application to C# project. But when i tried to open C# solution second time it is not opening. Have someone come across this situation Can somebody address this issue. Thanks. Hi, Could you please tell us the error message you are getting That will really be helpful in narrowing down the issue. Thanks. ...Show All
.NET Development Provider error while reading DBF file
Dear All, I am newbie in dbf manipulations .currently I have downloaded foxpro driver from the site . but when I am tying to open my DBF file it gives me error like "The Provider could not determine the Decimal value . For Example,the row was just created the default for the Decimal column was not available,and the consumer had not yet set a new Decimal value" I am using the following code snippet to open .DBF file:- ...Show All
SQL Server Convert from unicodestring to uniqueidentifier
Hello, I have a XML data source containing strings representing GUIDs (ie <modelAsset id="e04ba23c-0401-43a9-b40c-b4c3d580caa9" />) and I need to fill a SQL table with uniqueidentifier column. I added Data Conversion component setting the data type as DT_GUID. Running the package I get the following error message: Error: 0xC02020C5 at Import MyALM settings, Data Conversion [1301]: Data conversion failed while converting column "id" (4645 ...Show All
Visual Studio Windows Vista Beta 2 Build 5384: Installation Failed on MSXML6 x64
Edition of Visual Studio 2005: Standard Hi. I'm trying to install Visual Studio 2005 Standard Edition (full version; not a beta) in Windows Vista Beta 2 Build 5384. I've tried to install MSXML found in F:\wcu\msxml6\x64\ and setup wizard reported that MSXML installed successfully, but when I went to see what programs are installed, there's no MSXML 6 x64... OK so I continue to install Visual Studio 2005 Standard Edition anyway...so I ...Show All
Visual Studio Using VSS local plugin remotely: problem with credentials
Hi, Now that I know that I can't use the Internet plugin in VSS 2005 because it doesn't support the History function, I'm trying to use the local plugin to access my customer's VSS database. However, the plugin always assumes that I'm trying to connect with my local network credentials. This is not the case, of course. Why should my customer use my local credentials to give me access to their VSS database The net result is that the plugin ...Show All
