Published application wont open
Hi there, I have published and installed my application using the click once publish wizard in vs2010, once it installed the program launches. After exiting I try to re-open the program from the start...
View ArticleVS 2010 Loops
Hello I have two listboxes: listbox1 contains the 50 states, listbox2 is to display the states ending in "na". How would I program the button to display the states ending in na? Thanks, Justin
View ArticleHow To Make DateTimePicker Like Control
Hi, well, i'm making a control to be like datetimepicker, coz i need to change the backcolor of the text that the datetimepicker don't have. so i make my own "datetimepicker", so i put masked textbox,...
View ArticleMiniature home security robots
You're out on the town. A group of intruders comes to your house and breaks in. Oh no! Luckily, you bought an underpriced miniature robot. When they detect an intruder, it will try to shoot the...
View ArticleUnable to find the requested .Net Framework Provider
I have an Access database and I'm wanting to make a VB frontend. I did this years back and it was pretty straight forward. Today I downloaded VS 2012 and tried to create a new Data Source and I pointed...
View ArticleTrying to use mouse_event API. What am I doing wrong?
Code: Private Type POINTAPI x As Integer y As Integer End Type Private Declare Sub mouse_event Lib "user32" (ByVal dwFlags As Long, ByVal dX As Long, ByVal dY As Long, ByVal dwData As Long, ByVal...
View ArticleView specific Event Log entry
Hi. Im working on getting certain Event Log Entries from the Event Log. What Id like to achieve is: A user can select which Event Log Entry Type he wants to view. E.g: Error, Warning,...
View ArticleWhat's your profession?
A one or two sentence article. Regardless of what you think your profession is, you really are a salesman. How successful you are in life depends on whether you are a good one or not....
View Article[RESOLVED] how to get total row and column number from MySQL using VB.NET...
Hi. In PHP I used: HTML Code: $result = mysqli_query($link,$select); $row_num = mysqli_num_rows($result); to get the total number of rows in a given table. What is the equivalent in VB.NET to get total...
View ArticleReturn random cell value of 2 fields
Hi all, I'm making a generator for Premisses (in film-making this is used to describe the main-characters' development) to generate a random premisse. A premisse is: "CHARACTERS' MAIN PROPERTY" leads...
View ArticleKnowing the X position of the caret
When typing into a textbox, for example, how can I know the actual X position of the caret as it moves along the text line? The characters being typed can be of different sizes and fonts depending on...
View ArticleVS 2010 [RESOLVED] Missing Files in Debug
Whenever I save a project in Visual Studio 2010, it only creates a single file in the Debug folder named "projectname.vshost". It used to make other files, including an exe that I could send to others....
View Articlemvc registration..
using MVC3, there is a default Login for user. but how can modify so that I can do a registration for customer? including address,telephone etc. And also how can I use the UserId of it save in a table...
View ArticleVS 2008 Populate from Database ContextMenu Dropdown
Hello, Hope someone can help me with what is wrong. I've been trying to resolve all day. I'm just trying to load a dropdown in a context menu with data from a data table. I've confirmed the datatable...
View ArticleAny kind souls out there
So I procrastinated! And yes i am asking for HW help. Here's the problem: Write a program to deteemine a student GPA. see figure 5.25. the user should enter the grade (A,B,C,D,orF) and the number of...
View ArticleVS 2010 Sorting design code via date
I am using VS2012 vb.net and having to write a document associated with my application. Is it possible to 'arrange' or 'sort' code that has been done at design time. I am wanting to log the sequential...
View ArticleVS 2005 Persistent Objects in classes
I don't know if i'm doing this right, I have a class that makes a new System.Net.WebClient() as a public varible. If I use that class in multiple scripts, will it keep the same client initialized...
View ArticleVS 2010 Richtextbox selected text fontstyle
In my Rtf Editor I can toggle bold, Italic, and underline. I works fine. Here is the code. Code: With Me.rtbNotes If btnBold.Checked Then .SelectionFont = New...
View ArticleHow to change numbers into years ,month and days.
I am developing web application using C#,ASP.net and ms sql server. now i have integer input example 402 days. now i want to express it in years, months and days. that is 1 year, 1 month and 7 days. so...
View ArticleVS 2008 declare function syntax error
Hello need help with this : Code: Private Function Uframe(ByVal a() As List(of Byte()) As list(of byte()) For u As Integer = 0 To a.Count - 1 Dim bOutBuffer(8) As Byte...
View Article