vb

Lambda to VB question

1- <IEnumerable<int>> exceptionFunction = () => list1.Except(list2); 2- Action displayList = () => exceptionFunction() .ToList() .ForEach(i => Debug.WriteLine(i)); In the code above I am able to translate line 1 to VB with no problem. Everything I try to convert line 2. gives me...

Develop in .Net to Palm OS

Hello, It's possible to develop in .Net to build apps to a Palm OS device like a Palm T|X, because i'm a Visual Basic developer, not a .Net, but i'm studing to develop in .Net, because is a better language, but i'm using the Handheld Basic ++ and the NSBasic to develop for my Palm, but if i can develop in .Net it will be better, but if ...

Build a Text Editor in Visual Basic

Someone can post here a tutorial of how to develop a text editor in eVB (eMbedded Visual Basic 3.0), because I hate to use Microsoft Pocket Word to write my programs in Python, and I want to use the code to build a lightweight editor and in future build a developer editor for Windows CE. Thanks! Remember That The eVB Language is The Sam...

How do you remove hyperlinks from a Microsoft Word document?

I'm writing a VB Macro to do some processing of documents for my work. The lines of text are searched and the bracketed text is put in a list(box). The problem comes when I want to remove all hyperlinks in the document and then generate new ones (not necessarily in the location of the original hyperlinks) So the problem is How do I re...

How do I connect webapp VB/LINQ to a MySQL database server on a Linux

I have a programmer who is using VB and LINQ; and I have a MySQL database that is running on a linux server. My programmer tells me that: he cannot connect to the MySQL database via LINQ if he was able to connect then it would require all sorts of rewriting I don't know anything about LINQ but I thought it was an ORM. As such, any D...

.axd files generate a 404 error

Why do all of my .axd files generate a 404 error when on our production server? ...

How do you get the SID of the current web user in Legacy ASP?

I have an assembly that is exposed to com that provides access to a security library in .net to legacy vb code so we can add in our new security model without completely rewriting all of our legacy applications into .net. A few methods in one of these classes exposed to COM expect an Sid of the current user (we're on a domain if that m...

Does Outlook 2003 support iCal 2.0 spec for updating and deleting a calendar item?

We are working on an asp.net 2.0 web app that emails users an ical to save to their outlook 2003 calendar. We noticed none of the code to update or delete an item seem to work even though the ical 2.0 spec supports it. We are curious if Outlook 2003 just ignores this? Does Outlook 2007 act differently? We have situations where an eve...

Help with Tic Tac Toe game in Visual Basic 2005

I'm having 2 problems with my game. 1.) Upon initialization, if I select multiplayer, the buttons are still disabled. I have to refresh to get it to work. 2.) When I'm doing single player, my AI is not working right. When the AI picks its square, it still lets me choose a square with the AI's symbol as if I'm playing a multiplayer gam...

Export RDLC Report to Excel - Merged Cell

I create reports with the Microsoft RDLC files. I have a matrix control on the report. When i export to Excel it seems to create merged cells where the page starts/end. Is there a way to prevent these merged cells? ...

How to run query, automate using VBA Macro and Excel, make "loading" feature while reconciling?

Hi, I am building a reconciliation tool via VBA that automates queries from my oracle database and a worksheet. When I run the query I want the user to input what ITEM (in this case pipeline) to query (the worksheet has many items) and the end/start dates. I am having trouble figuring out the following: 1) It is querying - if the value ...

Adding Screentips to a label

Hello. I know it is possible to add a tooltip to just about every element in Visual Studio, but I was wondering if anyone knew if it was possible to add screentips to a label? I have 5 images I'd like to trigger when the user hovers their mouse above the element (a label). I have 5 labels: Form, Crown, Trunk, Root Flare, and Roots and 5...

Multipile panels and groupboxes and tab order maintenance

I have a VB.NET (2005) application designed by my boss that uses a over 100 input and display controls (textboxes, comboxes, etc.), many with labels associated. My boss asked me to set the tab order, and then trap keypress so the user can use enter to navigate controls. I have 2 apps like this to work on. For the tab order, I could not ...

How to Save a TextField Content to a File in VB

Hello, I'm trying to know how to save a content of a TextField to a File, like a .txt, using a Common Dialog, only a command dialog in Visual Basic 6, i need this using a only a common dialog, because i'm trying to do the same aplication in eVB, and eVB does not support this methods: Dim objFSO As New Scripting.FileSystemObject D...

How To Put a Menu Bar in an Application

I'm having some problems with eVB. How can I put a menu bar in an eVB project? I can't see any components to do that, and I don't know how to do this. Here is an example of a menu bar made in eVB, but it's not my program. I found this image in Google: ...

MS Access VBA/SQL question! Pretty Simple

Hey I just sort of learned how to put my SQL statements into VBA (or atleast write them out), but I have no idea how to get the data returned? I have a couple forms (chart forms) based on queries that i run pretty regular parameters against, just altering timeframe (like top 10 sales for the month kinda of thing). Then I have procedures...

MapPoint GetPictureFromObject method

According to the msdn documentation: GetPictureFromObject method Returns a picture (Visual Basic Picture object) of the current map view. After digging around, I found that this "Picture" object apparently hasn't existed since VB6. I guess there's no way to write a class to masquerade as this type... Or is there? ...

How to open a file and put its contents In a TextField?

I'm trying to learn how to open a file, and put its contents in a TextField, using a Common Dialog, only a command dialog in Visual Basic 6. I need this using a only a common dialog, because I'm trying to do the same application in eVB, and eVB does not support things like these, that makes the VB6 development more simple: Dim objFSO A...

Visual Basic.NET Training Example

Hello guys! We'll soon have some high school kids here in our company for some training lessons in programming for about 1 1/2 days. We decided to do Visual Basic.NET and thought about programming a little calculator with the four basic operators. Considering the fact that they will be here for only 1 1/2 days, this application might ...

Visual Basic Compatiblity DLL exception in DirListBox

We migrated from VB 6 to VB.NET 2008. Convertion went fairly well. There is one issue with exception. The following line in the InitializeComponent throws exceptions. Me.dirSelector = New Microsoft.VisualBasic.Compatibility.VB6.DirListBox The exception message says that "Invalid Property value". It happens only once. After that every...