What Is The Official Name For This Syntax Feature
Dec 2, 2011What is the name of the character at the end of each of these lines?
Dim _int As Integer = 1I
Dim _short As Short = 1S
Dim _long As Long = 1L
[code].....
What is the name of the character at the end of each of these lines?
Dim _int As Integer = 1I
Dim _short As Short = 1S
Dim _long As Long = 1L
[code].....
Is there any official notation for private fields? Like mVar, m_var or another notation?
View 10 RepliesI've been searching the web in general (and this forum specifically) for information on setting up Help documentation on a project - but the 'help' in the search just seems to give too much.I've never set up help documentation and was wondering if there is a good primer anywhere on the web or in a book - I've looked through VB books and none cover this topic also the I've so far been unable to absorb the official MS docs.
View 2 RepliesIs it possible to make program with VB to read the clock from websites? The official U.S. time - clock. How can I do that? And trigger actions based on the clock time.
View 3 RepliesIm writing a program to download a file from a official website every Sunday. The adress of this site keeps changing. Does anyone know how I can link to this address?
[URL]
I've highlighted the part of the adress that changes. As you can see, it's a date, but not nessesarily the current date. It could be yesterday, or the day before. I've tried something like this:
Dim link
link = "http:www.fiskeridir.no/content/download/4641/30774/version/254/file/Register-internett-*.xlsx"
This doesn't work.
My team is using the Mere Mortals .NET framework from Oak Leaf. Being used to working with primarily open source software, I found it excruciatingly painful to find ANY community support for MM.NET. When I asked if there was any, the only place I was given to look for support was Universal Thread, which is a site which requires a membership for search on archived questions. It seems like a third party, pay-for site should not be the primary source of support for anything like this, especially MM.NET which costs $700 per developer. It doesn't seem to me like an entire community around MM.NET would choose to all pay on top of the license just to use a forum. If not Universal Thread, then what is the "official" place to find support for the Mere Mortals .NET framework?
View 2 RepliesI am having an issue trying to figure this out. I am writing a script editor that uses tabs (a tab control) and I want to implement syntax highlighting. My issue is that every sample I can find on syntax highlighting uses
Private Sub RichTextBox_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RichTextBox1.TextChanged
Can any one translate the following syntax to vb.net.
m_TextBox.Loaded += TextBoxLoaded
m_TextBox.Loaded -= TextBoxLoaded;
private void TextBoxLoaded(object sender, RoutedEventArgs e)[code].....
i have this code:Private Sub frmMain_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
[Code]...
Error 1: Option Strict On disallows late binding.Im using visual basic 2010 express on a gateway laptop thats running Windows 7 OS How do i resolve this error?
I have a listbox and it it I am showing numbers.It should look like this (line by line) 1,2,3,4,5,6,7,8,9,10,11.....but is is showing it like this 1,10,11,...2,20,21...3,30...ow can I make it that it will show it in number order 1,2,3,4,5......
View 5 RepliesI want to select some rows from a sql express 2005 table. I am using this expression: "Starttime >= " & dtpStart.Value dtpStart is a DateTimePicker But I am getting this error: Syntax error: Missing operand after '14' operator.
View 18 RepliesI dont really understand how to add the update function to my program.I want it to update from my computer
View 5 RepliesHey guys,
I am trying to make a search feature in my program. My program has a .csv file that the program will need to search for a equal value that was entered in thr text box. I am just not to sure how to go about this. Just need some insight on how to grt started. Insight please.
i seem to have a problem with my program, here is my situation:I have a UsageID where it gets generated from a database when the user clicks a button (btnAdd). However the rest of the form has textboxes and comboboxes then finally a calculate button (btnCalculate). I want the user to only be able to click the btnCalculate when their is a UsageID present. Here is the code i have currently in the btnCalculate_Click procedure:
No errors come up it just doesn't seem to work, has anyone got any ideas because i'm stuck. Helpful posts will be rated.
I got a hard one for you devolpers.In a popular C++ program BitComet they have a Check For Update feature.How would I have a simple Check For Update and have it warn the user every 1 week or so.
View 4 RepliesI just read a book : Pro ADO.NET 2.0.It discuss about the disconnected and connected feature of the ADO.NET.In disconnected, the "data container" is DataSet.But it doesn't say anything about the data container if i use the connected feature. In ADO, we have recordset, what about ADO.NET.
View 3 RepliesIm making an application which is basically a lojack project. Im wanting to get some ideas for maybe other features or the best way to go about this for maximum tracking ability.Right now I have it working the way I think it should work and what it does is get your external IP, it then returns the City, State, Zip, Latitude and Longitude and sends all that info to you in an email. I have it check against a Database that houses computer registration, computer name, and then the status of the laptop which the customer calls in, if its stolen. Right now this is just a piece of software and Im currently working on something low level to do something before Windows loads up. Right now thats not something Im focused on hardcore, but Im working on it and itll get done.
View 2 RepliesI need to wait for and event within a given period (30s) and then timeout if this time elapse. I am sending a command to a server from a dll, and I need to wait for response before sending another. I want to implement a timeout feature, that why I need to use a timer. I want to use a timer, but don't know how to use it in a DLL.
View 2 Replieshow to use the find and replace feature? Sort of like what notepad uses. But, it replaced certain characters with a set character, not a changable one.[code...]
View 13 RepliesWhere do we make feature suggestions for VB.NET?Basically, I'd like to suggest that they introduce "strikethrough comments". As an alternative to using the single quote ' for remarks, you can use the backquote (ASCII 96) ` which does exactly the same thing except that the text appears with strikethrough. This would be good for "commenting out" code. So if I am replacing a bit of code, I can "cross out" the old code,
View 2 Replieshow to secure my vb.net setup with a serial key?
View 1 RepliesI've got this control: [URL].. and I'd like to use the advanced autocomplete feature in VB.
View 6 Repliesi need to create a find feature to find text inside of a richtextbox.
How can I do something like this? The web just takes me everywhere when I google it.
I want to be able to use Microsoft's Update feature in my app. When doing some research on this, I found out that MS uses an executable called WUSA.EXE for their updates. Unfortunately, you can't just run the executable and expect it to work. So, I guess I'm asking if anyone knows how I can do this. For the moment, my app is only targeted toward Windows Vista.
View 2 RepliesI have a form(EmailContacts) which contains a datagridview and a button to add the data to a textbox of another form. Everything is working fine and i can display data from the database on the datagridview properly. The problem is how do i add a 'Select All' feature such that when the user clicked once on the 'Select All' checkbox, all the checkboxes of the columns are selected?
These are my codes for the form:-
Public Class EmailContacts
Dim xs As String
[code]....
In my company, we make software which we use to test certain skills and intelligence factors of people. Some of those tests are time bound. On the test page, there is an asp control that shows the time remaining. When you right click that control, the javascript that provides the time is interrupted. To solve that, we disabled right-clicking. But now i've noticed that if you do a selection of some text and click the IE8 accelerator blue button, the javascript is also interrupted. Disabling the left-click if of course no option.
I've found an option in IE that disables the accelerator, so for us internally, the issue is solved. But we would like to find another solution, just because we cannot ask every one of our customers to go disable that option on all their computers.
[Code]...
I'm trying to create a routine in my asp.net's main page that will see if the current user is a member of a Windows domain group. The site is hosted in IIS and is visible through our intranet.
GlenFerrieLive listed this code (which I'd like to use) in an earlier post:
UserName = System.Environment.UserName
If Roles.IsUserInRole(UserName, "MyDomainMyGroup") Then
[Code]....
Problem is, now I'm getting the configuration error 'Default Role Provider could not be found'.
How can I get around this? I just need to see if the current user exists in a specific domain group.
I wanted to develop a tool in which i want to use words Macro Like feature.In an Application there will be front-end (i.e. form) which will accepts basic information like name,age,gender,Marital Status,Address,Locality,Contact number etc... In a backend i will be having few fix text fromate in the database as a string or BLOB.( instead of databaes, i can even keep words text template)
Now what i want to do is:when user submites the form data, my app should use this submitted data and replace all the marked location in text formate with the data provided by form. and once the complete text string is generated , i want to generate word file ( and/or Pdf) file from this.How can i acheive this with any one of this language .NET( web or Desktop ) , QML ,QT,Java ?( Text Fromates : because most of the containts of the text will be the same, only few words (fileds) will be diffrent for each copy generated)
If I have a folder with a bunch of ".htm" & ".html" files in it and I use
My.Computer.FileSystem.GetFiles(myFolder, FileIO.SearchOption.SearchTopLevelOnly, "*.html")it returns all the ".html" files, as expected. But if I useMy.Computer.FileSystem.GetFiles(myFolder, FileIO.SearchOption.SearchTopLevelOnly, "*.htm")it returns ".htm" & ".html" files, when I would expect it to return only the ".htm" files. Is this a bug?
How do I create a password log in system in VB?
View 1 Replies