Forum

Posts

RECENTLY INDEXED PROGRAMMING SOLUTIONS OF VB.NET


[2005] Getting other record type in dns  

We store TXT records on our dns server that I need to retrieve in a .net application. Is there a way to retrieve record types other than standard A and PTR records?For example, if I do an nslookup, the following is returned(my computer name is red-au): Continue Reading
Views : 19
Saturday 3rd of November 2012

Re: [2005] GetThumbnailImage <== quality sucks!  

Well, ive made this program, available here! The problem is, that although it works well on my computer, meaning the images saved are of good quality, on the two other computers ive tested the... Continue Reading
Views : 19
Saturday 3rd of November 2012

Re: How to let a vb.net application to be multi-lingual  

Hi,I am developing a vb.net cinema ticket booking system. The application is to have the option to let the user to choose which language he wants the application interface to be in. (Either English or Mandrain)How should I go about changing the language to display? Continue Reading
Views : 21
Saturday 3rd of November 2012

Excel Add-IN Help  

Can someone please point me in the right direction? I am trying to create an Excel add-in using VB.Net 2005/.NET framework 2/Office 2003.Thanks... Continue Reading
Views : 20
Saturday 3rd of November 2012

Upgrade opinion  

What I am asking for is just your opinion... gut feeling.I am a one man shop. I support close to 100 PCs, 3 servers, a dozen or so switches, countless printers, LAN cams, etc...I addition, I do all the programming, network stuff, system admin...I have 6... Continue Reading
Views : 20
Saturday 3rd of November 2012

[2005] seeking advice on Charts in vb..  

howzit guys looking for some kinda 'visual data display', i.e., graph/chart generator.would be nice if its a free one.also nice if its an automated tool, that also has e-mail... Continue Reading
Views : 29
Saturday 3rd of November 2012

Re: Showing Tool Tips  

If I have placed a menu on a form from the toolbox is it possible to add tooltips to each drop down options under that menu.I have MainMenu1 on the form and the first option is mnuBlotter and tooltip1 on the form but it won't let me do the following Continue Reading
Views : 18
Saturday 3rd of November 2012

Sql Reservation  

I am trying to make a reservetion system and can not get this sql to work. It works fine in access but not in SQL express.Anybody that khnow whats wrong here?ALTER PROCEDURE usp_roomReserved (@Checkin datetime,@CheckOut datetime) Continue Reading
Views : 16
Saturday 3rd of November 2012

using WebBrowser1 I am opening the page  

Hi Using webbrowser I am opening the page http://articlenic.com/uploader.php from windows form.On opening the page I would like to filled the forms with the data stored in variables. Continue Reading
Views : 29
Saturday 3rd of November 2012

Re: Closing Forms using If Statement  

I am trying to close form when you select another form. I'm not very familiar with VB and instead use C#. I know that you can use selectedIndex on c# but it's not available in VB. This is the code that i have so far:If frmResvMap.GlobalForm.ActiveForm()Then ... Continue Reading
Views : 18
Saturday 3rd of November 2012

Reorder listview columns via code  

Is there any way to move columns? Basically, I want the code to do the same thing as when the user drags the header with the AllowColumnReorder property set to true. Thanks! Continue Reading
Views : 17
Saturday 3rd of November 2012

How to do File/Version comparison  

Hi,I was wondering how I can compare two files to see if they are the same. I'm looking specifically to compare the application file that is local with one that is on the server to see if they are different. Thanks. Continue Reading
Views : 24
Saturday 3rd of November 2012

Re: [2005] Accessing Resources  

Hey all,I set up a satellite resources dll and can access the resources easily using statements such as - Me.Button1.Image = resource_manager.GetObject("ArrowRightYellow")What I was wondering was if you can access your satellite resources using the image property... Continue Reading
Views : 22
Saturday 3rd of November 2012

set value of a combobox column in DATAGRIDVIEW in VB 2005  

1) How do i set value of a combobox column in DATAGRIDVIEW in VB 2005 windows application at runtime......say during TOOSTRIPSAVEbutton_click() event. 2) How do i get the value stored in combo-box column of DATAGRIDVIEW ?Thanks,Alex Continue Reading
Views : 39
Saturday 3rd of November 2012

Re: Should I use a server-side application  

I have now done some pretty basic programming, but have worked with a variety of problems. However, I have never done any server or client programming and am a little curious.Here's what I need to do and am wondering whether this is the right task with which to explore... Continue Reading
Views : 20
Saturday 3rd of November 2012

[2005] How to get selected the values of dynamically created RADIO BUTTON  

I am getting exception ,when I check the selected radio buttons.Im my application,user requested to selected from and to date from the calendar.Once Its done, my application list two radio buttons for each date.User requested to selectetd one of the radio buttons for each date. Continue Reading
Views : 23
Saturday 3rd of November 2012

Re: [2005] Drawing program question  

Hello,I have been working on a drawing program and it is finally complete, but has some quirks to it. For example, I cannot draw freehand on the same form that the line and box are drawn. When I do draw freehand, and change colors for example, all the lines change colors and not... Continue Reading
Views : 22
Saturday 3rd of November 2012

Determining the format of a date  

HiI have a date value that is being brought back from a database that I want to put into a datetimepicker on my form. Unfortunately some of the existing data is rather messy and some dates have only been put in as the year. This means that I get an error when trying to put... Continue Reading
Views : 20
Saturday 3rd of November 2012

Re: [2005] Error populating DataSet  

Hi,I have these as global variables. VB Code: Continue Reading
Views : 27
Saturday 3rd of November 2012

Sub Main Closing Program when done  

Hello,Hopefully this is an easy one to help me with. I created a Sub Main that starts when the program is executed. When the sub main is finished executing, even if I have a form open it closes my application. Here is my simplified code: Continue Reading
Views : 21
Saturday 3rd of November 2012

Re: [2005] Licensing  

Hi allWas wondering if any of you had any advice on how i could make a licensing-system for my project. My project consists of two programs, one Master and one Client. The Master produces entries in an SQL-base that each Client is dependant on. When i sell this solution the buyer... Continue Reading
Views : 23
Saturday 3rd of November 2012

[2005] Threading/BackgroundWorker and dataset  

Dear Folks,i have seen almost all posts and links on this forum about the above topic but i cant get to do what i want. And everything has made me confused thats why i need your help.Scenario:From a menu button on the mainform, I load a form(childform) that has a... Continue Reading
Views : 24
Saturday 3rd of November 2012

[2005] please help with SQL commands in VB.NET!  

Hi, I need a command with who I can update cell in database, heres how it should look like but it doesnt work: Code: Insert MyDatabase (MyColumName) VALUES ('" &... Continue Reading
Views : 36
Saturday 3rd of November 2012

[2005] Accessing a listbox item's text  

I know this question has come up a billion and one times but the answer must be hard to remember cuz now I'm asking, how do you access the actual text of an item in a listbox? The common "dot and parenthesize until you find something that might be it" strategy that my old teacher said rarely... Continue Reading
Views : 27
Saturday 3rd of November 2012

Re: Exiting A Console Application  

Hello Everyone: I am trying to close a VB.Net Console application by allowing the user to hit any key, How do I do this?Any Ideas?ThanksArt Continue Reading
Views : 21
Saturday 3rd of November 2012

Re: Programing Help Please!  

Try this code VB Code: Continue Reading
Views : 20
Saturday 3rd of November 2012

Re: [2005] Windows Service With NotifyIcon  

Hi,I have a windows service, which I allow to interact with the desktop, and it has a notifyicon that works a charm.I am trying to get a menu to appear from the Icon now, and it doesn't seem to work at all. I can get the balloon tip to appear from the icon, but can't... Continue Reading
Views : 20
Saturday 3rd of November 2012

Re: [2005] Benefit of Short, Integer or Long  

Is there any benefit for defining a number as a short over defining it as an integer or a long?Obviously if you need a large number or you have to pass a certain size of number (16 bit, 32 bit etc) to a dll then I see the advantages.But for day to day when I am... Continue Reading
Views : 24
Saturday 3rd of November 2012

[RESOLVED] using a function to validate problem  

VB Code: Continue Reading
Views : 24
Saturday 3rd of November 2012

Re: Removing last row from datagridview  

hi everyone, i would like to know how to remove the last empty row from a datagridview? below is a short snippet of the coding i use to populate the datagrid: Dim c As Integer For c = 0 To rs.Fields.Count - 1 ... Continue Reading
Views : 29
Saturday 3rd of November 2012