hberenguel's Q&A profile
Visual Basic Reading files into textbox
I need help with this little piece of code..am trying to read a file into a textbox.It is working with only some files.It is unable to show the characters of files like .exe,.bmp,... I want to create a text editor.(which should atleast open these sort of files).The code am using right now is.. ' starts here... FILENAME is actually a filename as string with the whole path Dim sr as new streamreader(FILENAME) textbox1.text=sr.readtoend sr.close 'Ends here.. Can someone help me I even want to use the encoding stuff(but later) & ...Show All
Visual Studio Performance issues after VS 2005 installation
The installation of VS 2005 Beta-2 went very smoothly. VS 2005 and VS 2003 work side-by-side just fine. However, a very negative side-effect is that when I open a file (from local hard drive) with the registered application (e.g. double-click in Windows Explorer) it takes about a minute before the application starts up. This notable difference started only after installing VS 2005. If I open the application first, there is no delay. The environment is a 3.6 GHz Pentium with 2GB RAM running Windows XP-SP2. Any hints on what the problem might be do you see mscorwks running in the background ...Show All
.NET Development Access Database and x64 OleDB Connect
Hi, i've written a programm wich access an .mdb Database with OLE-DB. Under Win x32 everything works fine Under x64 no Database is found. Is there no way to access an mdb Database from x64 There is no way to access a .mdb database from 64bit. It has been decided to not port the Microsoft Jet Database engine to 64Bit. Brad Rhodes This message is provided as is.... ...Show All
Visual Studio Express Editions Debug problem - Source code/original difference...
Any change to my source results in the following (abbreviated) message in debug mode at the breakpoints when moused over: "The breakpoint will not be hit. Source code is different from the original version. To allow breakpoint to be hit when sourcecode is different right click, choose 'Location' and turn on 'Allow.....'. To allow for all BP's disable the option 'Require source to exactly match...' under Tools>Options>Debugging>General" What causes this phenom I have none of the suggested options in the menu system or context menus Using Beta 2 - clean install, new machine, using old code written in Beta 1/old machine Hi. The p ...Show All
Visual C# How to get the display information from a website?
How to get the display information from a website For example, when i click a button, the system will get the fixed deposit rate from a certain bank website. How can i get the value that display on the website Can anyone help to solve my problem Hi You wanna to access the information that resides on a diffrent web server. Try to search a web service if the Bank have, and acces the information to display on your page. Or Try to get the page through System.Net.WebClient ... and parse the page to extract your information and then display that. Or If you are stronger in Java Scripting or any web scr ...Show All
Visual Studio Update for Cryatal report for visual studio .net
I've recently upgraded my code from VS 2003 to VS 2005. I've noticed a problem with changing the location of subreports at runtime. A search in the Crystal reports support website discovered that this was a known issue (Track ID ADAPT00299380) and that it was resolved in the latest service pack, and hot fixes. The problem is that there aren't any updates available for the crystal reports vwrsion shiped with VS 2005. When do you think an update for this version would be avialable Thanks Guy That Adapt ID is not for VS2005. For detail information , you can contract the Busines sobjects' TS at this site http://support.businesso ...Show All
Visual Studio 2008 (Pre-release) DLinq Experts: Writing a more difficult Dlinq query for Northwind Orders
I'm working on code to write a DLinq query to get the number of products ordered on particular days with the product code. What I'm trying to do is retrieve a count of products grouped (and sorted by) an order date. Northwind's order-order_detail-product relationship is what i'm talking about for the relationship between the two. (An Order's OrderDetail: each record links with a Product) Wait for the sql if you're not sure what I'm after. This is could be a cool exercise for the community. Of course I'll post when I get it figured out... Ensoft wrote: I'm wor ...Show All
Windows Forms message box dose not display.
I have a really bad issue. All of a sudden the pcs in my company are no longer displaying c# .net controls. For example the message box or the list box. The box appears however with no text. I have some that do and some that do not. I have uninstalled and reinstalled the dot net frame work and this does not resolve. I suspect t ...Show All
Visual Studio Team System Protocol violation - can I change how sensible the test shall be to protocol errors?
I get this error when running a test on a web page that I have no possibility to change: RequestFailed: The server committed a protocol violation. Section=ResponseHeader Detail=CR must be followed by LF Is it possible to configure how the test shall handle this so the test will not fail Sten, this sounds like a bug so I'm going to need some more info to track it down. What's the request like that's causing this error Are you using non-ASCII characters in a custom header value or in the URL Josh ...Show All
Visual Studio VS 2005 Final. Document Explorer crash.
Every time I change the "Filtered by" combobox the document explorer crashes: "Microsoft Document Explorer has encountered a problem and needs to close". What is a problem Is there any suggestions I've already tried to install on several different computers, but the result is the same always - crash after changing a filter category or after search performing. ...Show All
SQL Server From MySQL to MSSQL 2005
Hello! I'm installing the MSSQL 2005. And i want to transfrom the DB from my old MySQL DataBase to new MSSQL Database. How can I do this With Import|Export Utils I can't do this task =( Pleasure Help me. Thanks I ended up using Select Into statements using Linked Servers and Openquery. I ran out of time to find a better solution. ...Show All
Smart Device Development connection to remote server does not exists
Hi friends Please help me in this problem. I am a beginner to pocket pc application which utilizes XML Web Service.this application is a simple hello world application. pocket pc application consuming the web service and when runs returns hello world as a load event:- This is the code I am doing for pocket pc application. Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Dim objwebser As localhost.Service1 = New localhost.Service1 MessageBox.Show ...Show All
Visual Studio Tools for Office save a document without the action pane
hi all, ive created a COM add-in button on the Standard toolbar, that when clicked opens a custom template with an action pane. all works well but my problem is when the user saves the document (the custom template), the saved document is saved with the action pane and all its functionality. im openning the custom template with the WordApp.Documents.Add(...) or WordApp.Documents.Open(...) methods. my question is if it is possible to save the document as a normal document without the action-pane and all the functionality. i must add that the user saves the document with the normal save button and not with a custom save button. how can i save ...Show All
Visual Studio Express Editions UserControls/Design Time Property Grid
I'm designing and UserControl with a lot of properties. I would like to place some of the porperties in sub catagories. Similar to the way the X,Y properties are displayed for the Location property under the Layout catagory. Can someone help me emulate this behavior. Thanks Robert Sure... you can supply a TypeConverter attribute to a property. The TypeConverter will convert your datatype to a string a vice versa. This is the string that is displayed next to your property. A typeconverter can also tell the propertygrid what properties are available for editing. That's where th ...Show All
Visual Basic Need help with answers
I am making a program that is like a mathmatics quiz with simple questions, I was able to make the program so that you press on a command button and it asks u a question, i then have four check boxes, and i dont know the code to let the computer know which answer is the right answer and tell it to say correct or incorrect in the picture box. Lets just say checkbox1 is right.. i wrote Command1 __ click picture2.print "2x2" picture1.cls If checkbox1.value then picture1.print "correct" else if checkbox2.value then picture1.print "incorrect" end if end sub it keeps telling me something is wrong or it just writes correct in the picture ...Show All
