Mike_Lange's Q&A profile
Windows Forms Loading afile into a field for a particular record in a db table
Hi, What will be theC# equivalent of: mStream = New ADODB.Stream mStream.Type = ADODB.StreamTypeEnum.adTypeBinary Call mStream.Open() mStream.LoadFromFile(TmpFile) rs.Fields("Report").Value = mStream.Read // load the whole file using ADO.NET. Thanks in advance Hi, Found the solution by reading the foll. article: HOW TO: Read and Write BLOB Data by Using ADO.NET with Visual C# .NET http://support.microsoft.co ...Show All
SQL Server data mining video tutorials
are there good free data mining video tutorials for Sql server 2005 data mining. please if u know any such links please post it. hi, i couldnt see any video in that site, it gave some link, i have followed that, and i was redirected to sqlserverdatamining.com; in there, i found a title for data mining tutorial, then i tried to view that video, i coulndn't get/ download any demonstrations. http://sqlserverdatamining.com/ssdm/Default.aspx tabid=103&Id=188 at last i got link, it doesn't have any demonstration, i've registred in that site also; please specify me the link please! ...Show All
Visual Basic Function CInches
Hi i was using this code in MS Excel and was working fine but i need to use it in a small application i'm making in Ms visual studio 2005, if any one can help thanx. '\ This function converts a string like 5'-6 1/4" to a decimal number '\ of inches that can be used in calculation. Function CInches(Text_string_containing_values_for____Feet_Inches) '\ These values are used to examine the input string, one character at a time Dim vVal As String '\ shorter name for input string Dim i As Integer '\ counter to step through each character in input string Dim vChar As Variant '\ temporary storage of each input string char ...Show All
Visual Studio Express Editions Activating Visual Basic Express 5.0
How to use Registration Key for Activating my Express Visual basic 5.0 edition Do you mean VB 2005 Express Edition Menu Help->Register product... should open a dialog where you can enter the registration key. ...Show All
Visual Basic On Loading Multiple Bounded Controls
Is there a better way to improve startup performance of my application I had a form wherein it had 2 comboboxes and 2 datagridviews, each and everyone bounded to their respective tables in my databse.The tables happens to be of large data so evidently it takes so much time before my applications starts up.I am using the tableadapter.fill method of loading data on form load event and its such a big drawback on my part.Thanks in advance. Ok, I finished searching the msdn and find something I hope will lead me to the right path, Paging. I have here the code and primarily it connects to the Northwind da ...Show All
Visual Studio Express Editions Configuration Error in web.config line 42 after installation
Hello, I just intalled VWD 2005 Express beta-2 on Windows 2000 SP4 and I did create a new web site. Just after the creation of the web site (I haven't added anything in the project yet, I went in Website -> ASP.NET Configuration and I got the following error : Server Error in '/asp.netwebadminfiles' Application. The first thing that I would do is to remove the beta 2 product and install the full release package, since the release of the RTM version there have been some major changes. Visual studio express editions FAQ http://msdn.microsoft.com/vstudio/express/support/faq/ Visual Studio Express edition Registration FAQ http://ms ...Show All
Visual Studio 2008 (Pre-release) Remove the dotted line from the controls!
How do you change the look of the dotted line that appears when you modify a control's control template For example, modifying a ListBox and ListBoxItem, when you selected an item, the border of an item is the dotted black and white line. Does anyone know how to change it Thanks, Jaco Hi there, I have tried setting FocusVisualStyle="{x:Null}" on page elements, however it does nothing at all Is there another way to hide the focus from the user Cheers, Justin ...Show All
Windows Forms Deploy chm file with click-once
I'd like to include a chm file with the application that I am deploying, but no matter what subdirectory of the project I put it in I can't seem to get the file to be included in the deployment. The help file does work correctly from my application on the development machine where I have it located in the project bin directory. Right now, my deployment is just to a directory from which I burn a CD. Thanks, jerryK Have you changed the BuildAction property of the file to "Content" I think that's about all I did to get it to work. ...Show All
Architecture General business object requirements
For those of you who have worked on medium to large sized projects, or anyone who has an opinion , I would like to know what types of logic an application needs in the business layer. If the objects expose properties and collections, is a simple validation on write all that's needed I guess the objects also have methods that do various things. If anyone feels like offering any insight into the kinds of things their business objects do besides store bits of information that would be greatly appreciated. I'd also like to know what types of exceptions are generally thrown when persisting to a database. What about errors in the middle of bat ...Show All
Visual C++ Problem to use draw functions with Visual Studio 2005
Hi everyone, I use Visual Studio 2005 c++ and i want to draw graphics. I see that there are some library given on the web. The project that i use is that : MFC Application , Application type : Dialog Based But i have a problem. With this type of project i have just acces to IDC_STATIC picture control, and i dont have acces to IDC_DRAW_CONTROL . Do you know what is the solution to have acces to this IDC necessary to use draw functions. Thanks Those are resource IDs given to controls. You need to download the entire code from the article you were referring. FFil wrote: ...Show All
Smart Device Development Opening XML File on Pocket PC
I'm trying to load an xml file in Pocket PC, but its giving me DirectoryNotFoundException. I know why the exception is occuring becaue Pocket PC file structure is not like the local Drive system we have in windows. I'm trying to do the following to resolve the exception but it still does not works: String path = Environment.GetFolderPath(Environment.SpecialFolder.Programs) + "\\MyPocketCal2003\\QuantitiesUnits.xml"; String path = Environment.GetFolderPath(Environment.SpecialFolder.Programs) + "\\MyPocketCal2003\\MyPocketCal2003\\QuantitiesUnits.xml"; Please suggest a solution. Keep in m ...Show All
.NET Development HTTP and HTTPS Over My Socket
I need to be able to HTTP and SSL over my own socket (Socket class). The big picture is that I'm writing a combined client and server for a protocol that sends XML messages via SOAP over HTTP and HTTPS with and without keep-alive and gzip. I'd write a web service, but it looks like that won't give me sufficient control of the underlying socket. With .NET 2.0, it looks like my life will be eased with SslStream, GZipStream, and XmlSerializer with XmlTypeMapping to help with SSL, GZip, and SOAP. I think that only leaves HTTP for the non-SSL case. 1) Is there any .NET class that can make my life easier to do HTTP when I’m ...Show All
Visual Studio Express Editions Stop Row Deleting
I have a DataGridView with some rows displayed and would like to check if there is any related data before deleting the row. I have a foreign key constraint but would like to popup a nice message when the user tries to delete the row rather than wait until they click on save and have the ugly, default error message. My first thought were to put some code in the RowDeleting routine. I have tried putting in a popup message along with e.row.canceledit and e.row.rejectchanges but the row still gets 'deleted' (until I click on save and get the FK error) Any suggestions hi, you can depend on t ...Show All
Audio and Video Development "link href" issue
I created a simple disc with markup only, 3 markups. I want to jump to another page by < cue begin =" //button[@id='b2' and state:actioned()=true()] " end =" //button[@id='b2' and state:actioned()=false()] "> < link href =" url('file:///dvddisc/ADV_OBJ/assets.aca/screen_2.xmu') "/> </ cue > But, at the bottom of ihdsim, it said, "Line: -1 Column: -1 (null): Markup: MCP::_LoadMemoryBlock: Required file not in resource cache: file:///dvddisc/ADV_OBJ/assets.ac....." Is the uri wrong or something else Hi, The URI format you ...Show All
SQL Server Stored Procedure Version Control
I am running SQL 2005 and Sourcesafe. I want to automatically add the sourcesafe version number to the individual scripts stored in sourcesafe that generate stored procs, sql agent jobs etc. Anyone got a code snippit to show how this is done Hi I think you are looking for Keyword expansions in the Source Safe Keyword expansion refers to VSS's ability to place certain information directly into your file to create a file header for you. To use this feature, you place certain keywords into the text of your file in comments so that it does not affect your code. When you add or check in the file, VSS ...Show All
