20,284 Topics
| |
I have a calendar/scheduler that I am coding and I want people to be able to search for the next available date via a few options. One of those options is to only search those dates that are "Monday" for example. I have the following SQL command to retrieve data … | |
I thought it would be a straight forward API call of the shell32.dll but I cannot for the life of me figure out how to use shell32.dll to do what I need it to do. Part of this is due to the fact that I can't find any code that … | |
Hello, I am glad to join a community of over a million members. I am trying to develop an application which will try to protect keystrokes from being send by keyloggers and even if it can be send it will be encrypted or obfuscated. Would like to know what are … | |
this is the below code in which when user press enter then the details of textbox go into gridview then again when user press enter then if that record is already available then not allow to insert in gridview.i a unable to do this please help any one... If Asc(e.KeyChar) … | |
Group, In reviewing the data in one of my SQL Server tables, I noticed that my nchar or nvarchar fields have additional spaces added to the end of the record. Is there a way to stop this? Should I be using a different data type? In advance, thanks for your … | |
Hi All, I've tried the following to format my date in 'dd/mm/yyyy' instead of 'dd/mm/yyy hh:mm:ss' when importing data from csv to DataSet. CONVERT(VARCHAR(10), [dateColumnName], 103) AS [DD/MM/YYYY] and CONVERT(DATETIME, [dateColumnName], 101) AS [DD/MM/YYYY] Both give me the error: Undefined function 'CONVERT' in expression What would be the correct method … | |
Hello, As mentioned in the title I wanted to generate a data report and found this bit of code on microsoft page. http://code.msdn.microsoft.com/vstudio/VBWinFormPrinting-ca19810f Hoping Im correct, Private Sub printDocument1_PrintPage(ByVal sender As Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) Dim f As Font = New Font("Vanada", 12) Dim br As SolidBrush = New … | |
Hi Freinds I am programmer in VB.net & wanted to make a software Well this is a common problem. Consider there are 2 friends A & B One day A requires an urgent document which is there in B's laptop But unfortunately B is out for some work & will … | |
I am new to VB and working on a homework assignment that I’ve seen posted in years past. The threads were aged a year or more so I’m starting a new discussion. I am writing a program that allows me to enter sales for 5 stores and display a bar … | |
Public Class Carwashform Const EXTERIOR1_String As String = "Hand Wash" Const EXTERIOR2_String As String = "Hand Wax" Const EXTERIOR3_String As String = "Check Engine Fluids" Const EXTERIOR4_String As String = "Detail Engine Compartment" Const EXTERIOR5_String As String = "Detail Under Carriage" Const Interior1_String As String = "Fragrance" Const Interior2_String As … | |
| I'm creating a form for employees to fill out and submit work orders but only employees in a certain security group in AD are allowed to use the program. Can someone give me the basic overiview of how i would write code for checking the users current windows credentials (the … |
Hello everyone, I hope someone can explain something to me. Im a Junior Developer with very limited knowledge in VB.net, but I am self teaching. I will soon have projects to do whilst at work, and although my coding is pretty ok now, one thing eludes me, and I cant … | |
hi everyone :) im hoping to learn a healthy amount of vb10/12 by the end of the month. mainly to improve my cv and get a better shot at jobs. originally wanted to learn vb6 for a college project , but after a post in daniweb , my ideas are … | |
hi all i am making a tabbed notepad and i have added RichTextBox At runtime.now i want to add it's sub procedural but i don't know how to add sub procedural at run time. i want to addd sub procedural with handle textchanged event. i had added follwig code for … | |
I am creating a program that make a person select different options and in other boxes it will populate the choice the person makes. Example is the program is fora car wash and if you choose standard or deluxe it will show in the other boxes what comes with that … | |
Group, I need to use Function keys within a form I've created. The problem I'm having is determing the correct routine to fire it off. Here's what I'm attempting to do: In Form1 (actually called "OrderEntry2"), I want to give the user the option of keying in a part number … | |
I have a program I wrote a few years ago that interfaces largely with MS Excel. At the time my company used Office 2007. We have since upgraded to 2010 with no problems. However, I had to make some adjustments, and now I can not compile. The error is Error … | |
First, I need to read from a text file and display the results in a textbox. The text file is two columns, 18 rows, with the first column a certain ingredient and the second the amount of that ingredient remaining. Depending on what is ordered, the amounts in the list … | |
Hi all, I'm trying to bring up a table of data using a select query to create a DataSet that I'm displaying in a datagrid. When I use SELECT * FROM myTable it works fine, but when I only want the specific columns SELECT URN, 'CanX Reason', 'Date to take … | |
Hi danibians, wonder where i got this error. it got error after it reads the runcompleted process. here is my code Hi Everyone, Hope you could help me with this. I got an exception error saying "Exception has been thrown by the target of an invocation." here is my code: … | |
Why does this error occur? Here is my code: Imports System.IO Public Class Form1 Private Sub Button1_Click_1(sender As Object, e As EventArgs) Handles Button1.Click OpenFileDialog1.Title = "Select Image" OpenFileDialog1.InitialDirectory = "C:\temp" OpenFileDialog1.FileName = "Image File" OpenFileDialog1.Filter = "JPEG Images (*.jpg,*.jpeg)|*.jpg;*.jpeg|Gif Images (*.gif)|*.gif|PNG Images|*.png" OpenFileDialog1.ShowDialog() End Sub Private Sub OpenFileDialog1_FileOk(sender As … | |
**please help me. i need to take each string in each column of my datagridview** `roivic lanoria ASRock 2.4 GHz Dual Core SSD 160 GB` **and look like this in my datagridview** `roivic lanoria|ASRock|2.4 GHz|Dual Core|SSD|160 GB` **these strings are from a text file. help please.** | |
http://oi45.tinypic.com/wtzrd4.jpg | |
I have a Database It created in Ms accsses how can i set a fix path to connct the database when i install the setup in another computer? plz help..? | |
Friends, I Have a Datagridview in My Form, i am Using Combobox on datagridviewcellbeginedit event, it's Working But In this condition i am not able to using combobox_textchanged event, Suggest me any Idea.... | |
Group, I'm thinking I may want to use the Date data type in SQL Server. However I'm still very unclear how to read, write and compare using this kind of data type. I realize this has a time component which is of no importance right now (it will be later … | |
Group, I'm having an issue with SQL Server that has me baffled. I need help. When I originally loaded SQL Server 2008 Express and created my database, I called it "DataDesignSolutions". The tables were created through VB Studio 2010 Express. It's path was "C:\User\Don\Documents\DataDesignSolutions.mdf". I'm not sure how, but somewhere … | |
**how can i read a specific text from a text file back to a textbox?** **so here are the text** `heburn@YAHOO.COM, TAGUIG, 9460593, ASRock, 2.4 GHz, Dual, Core, HDD, 160 GB,5, 200, 2 GB, 2,512 MB, YES` **and i just want get the text** `TAGUIG` and `HDD` | |
| I would like to know how to take selected information from a listview and add them to a .dat file This is what i got so far but it is to save into a text file Sorry for any mistakes i am a noob Private _filepath2 As String = Application.StartupPath … |
Hi the problem I am faced with is after adding around 35 video files of both .avi and .mpg with a total file size of around half a gig to the resources of my project, I get an error message on debug telling me "Error 1 Unable to write to … |
The End.