Use Built In Data?
Mar 28, 2012
I have a program that reads a .csv file which contains 378 lines with 16 fields. The problem is, I want this data to be built in to the .exe, instead of in a separate file. In the old days, it would have looked something like this[code]...
Is there an easy way to do this in VB, or am I going to be stuck writing 1 line for each 6064 actual variables? I know it is considered by many to be "bad" to have data built in, but this is what I am after.
View 4 Replies
ADVERTISEMENT
Jun 29, 2010
Is it possible to immediately use code that is built in a dynamically built assembly?I would like to create an instance of an ENUM built using.http:[url]......
View 4 Replies
Apr 1, 2012
I have a program I built to pull my weather station data from a mysql database. I can get ALL the records to load, but when I try to query a date from the RecDate row, nothing.
Imports MySql.Data.MySqlClient
Imports MySql.Data.MySqlClient.MySqlCommand
Public Class search
Private connsearch As String = "Server=" & My.Settings.Data_Source & ";" _
& "Database=" & My.Settings.database & ";" _
[Code]...
View 14 Replies
Aug 22, 2011
I wish to build and display a simple diagram that is built from data entered by the user. Because I can't post a picture of the types of diagrams here I'll use the following example. Image a picture of a house as a child might draw it a large square, with a triangle for a roof, a rectangle for a door, and two smaller squares for windows. Now I want to build an application that lets the user enter data and change that drawing according. For example, by entering the length and height of the house the size changes, change the number of windows, size of the door or height of the roof.
Now this may seem like a useless application but keep in mind the house is just an example the real purpose is different but should be as simply drawn. I'm looking for suggestions on make this work. Should I use a paint? or is something like this better done with a tie into the Visio references?
View 13 Replies
Feb 4, 2011
i have encountered a problem, i want to access the data coming to the computer from the in-built bluetooth module of a computer on windows platform, this data has been sent by a remote bluetooth module say a by an autonomous device (just like a bluetooth mouse connecting to the computer). The to be sent is in the form of numbers and i need these to manipulate on the computer.
View 6 Replies
May 26, 2009
C# and VB.NET comes with built in types that maps to the CLR types. Examples are: int (C#) and Integer (VB) maps to System.Int32, long (C#) and Long (VB) maps to System.Int64. What are the best practices for deciding when to use built in types or not to use them (using the System.* structs/classes instead)?
View 7 Replies
Apr 13, 2010
Is it possible to import a dll which is not built in .Net in a vb.net project like htis:Add Reference -> Browse -> CreatingDll.dll file
Or the <DllImport>attribute needs to be used in case where i want to add a .dll file which is not created in .Net within a vb.net project?
View 12 Replies
Sep 25, 2011
I need all the dll's in the following format:
Dim references() As String = {"Reference1.dll", "Reference2.dll"}
but I don't know where to find the dll names.
View 3 Replies
Jul 30, 2010
It would be good if visual basic had standard math constants like pi, the Euler number, and others built-in so one doesn't have to define them each time and have the possibility of making typos. Even some of the physical constants in MKS unit could be included like the Boltzmann's Constant, speed of light, permittivity and such. Each could be a special simple like kb for the Boltzmann's constant. Or it could be a properties like phyconst.c for the speed of light, phyconst.kb for the Boltzmann's, phyconst.sb for the steffan-Boltzmann's constant, pmathconst.e for e=2.71.
View 3 Replies
Apr 26, 2009
let's say my app is buit and i want to add xtra controls to the app.[code]...
View 4 Replies
Jun 24, 2011
I want to code some thing up that logs you into a site and automatically posts to it.
I heard you need to use httpwebrequest but I've seen literally almost every tutorial on the subject and I am still super lost.
Also, is it possible to automate the built in web browser? I coded a semi-automatic program in the past but I want something automated.
View 5 Replies
Nov 3, 2011
I have a problem where a button at the top left of a tab control will not appear in debug or compiled. There is no code telling it to hide.
Now, I can make it re-appear by moving it, then moving it back to the exact same position. If I then re-build it will be there.
It will then be there for a number of builds, at which point it might disappear again. This seems to happen for a few buttons in my project. The common factors are that they are on a tab control (standard dot net ctrl) and near the top left of a tab page.
View 13 Replies
Mar 14, 2012
How is a bot for a game like Match 3 built? Match 3 type games are basically when you have different objects and you have to match 3 in a row either sideways or up and down.[code]
View 8 Replies
May 14, 2010
i have an application that's in development, but some modules of the application are already built, so the application it's installed in several computers. In my code, i call an external class that i built with several functions that i use in multiple applications, in this class i have a small piece of code that checks in the network (internal), if a new version of the application (Msi File), of the current application it's available, and if it's available, it runs the Msi file.
msiexec /package MSIPackage.msi That worked fine in windows XP, but now some machines have been upgraded to windows 7, and the user need other credentials to run the package. (Elevate Privileges). Other problem it's that in my application i create several folders in the installation and the user doesn't get any permissions to write in the folders.For example i have one Log folder, and i can't write any logs to it.
View 1 Replies
Sep 1, 2011
I understand that .NET is multi-threaded and that is a good thing, but I continually run into issues when I have a background worker for example that is updating some control on my form and I have to do:[code] My question is why is this not built into the framework - surely if I am trying to update a DataGridView it should be intelligent enough to know when the update is from another thread and it could do all the above itself?
View 3 Replies
Mar 31, 2011
Someone once told me VB.net had some built-in function to check if two rectangles intersected. But I cannot find it.
View 1 Replies
Apr 2, 2009
Is it possble in VB.Net to accress a control or object using a built up string?[code]...
View 2 Replies
Oct 25, 2011
I want to activate the built-in web camera on a laptop for my application using .NET
View 3 Replies
Aug 25, 2011
I built as email marketing system a while ago and I have been asked to add a feature that should have been there from the start really.OK i have a structure that holds a list of IDs, Email address and Departments when the end user goes and presses the email button the for each statement goes though each Item in the structure (Except the first) and pings off a HTML email.This is stored in a Form as the user has had to pick the email template from a list.
The code is below but as you can see if a message fails, fro any reason the rest of the list gets missed and exit sub!
[Code]...
View 2 Replies
Dec 13, 2010
I was wondrening if there is any built in functions to search for a sequence in a string
View 1 Replies
Jun 1, 2012
I would like to know if there is a built-in TWAIN Scanning library in .Net 4 to use it in VB.NET.
View 1 Replies
Apr 15, 2010
built-in way to find all permutations of an array?
View 2 Replies
Feb 12, 2010
I used a built in function to create comma separated string using List easily.(It is not split and join but new function) I'm not able to recollect or find it. If some one knows about it and uses it please post a link to that. Framework - .net 2.0
(It is not Join or split - I know about this, .net has new built in function to create CSV format)
Check Jacob G Answer below for what i was looking for let me know your thoughts on it compared to join ;)
And whoever gave me -ve rep need to keep some patience and not hurry
View 7 Replies
Apr 9, 2010
I want to know how to call Windows Built in Calculator in Vb6 on Command Button Click or on Clicking on Menu "Calculator" in Menu bar
View 3 Replies
Jul 24, 2011
I noticed in one of your forums somebody had created a web Browser with a built in proxy. What does that mean and how did you do it - I'm coding a web browser myself.
View 2 Replies
Jun 13, 2012
I need to prove that a VB.NET program that I wrote was written at a particular time.
(the reason is an academic integrity investigation where someone copied my code).
I have all the code on my disk including the debug and release folders, with my username in the build paths.
Are their addition things I could do, such as looking in the binaries?
View 3 Replies
Apr 20, 2009
does anybody know how to connect the built on camera to my application so i can take snapshots for further manipulation? i am using vb.net 2003
View 1 Replies
Dec 17, 2009
I'm trying to create just a simple animation of a pacman eating the food. I have the sprites, the pacman sprite is suppose to eat the food and move back and forward and the food disappears. I'm not sure if I should use point structures or animation based on pictures.Any one know how to draw pacman using built in items?
View 1 Replies
Oct 26, 2009
I am creating a built for a vb.net application and i want to include the user license agreement into the built, which allow to click either "Agree" or "Disagree".
View 1 Replies
Jan 13, 2011
So I wanted to check when last a table was changed, and I basically came up with this query:
SELECT DB_name(database_id) as [Database],OBJECT_NAME(object_id ,database_id) AS DatabaseName, last_user_update
FROM sys.dm_db_index_usage_stats
where DB_name(database_id) = 'Database Name'
Now what I want to do is put this in my code using LINQ. I have added the view to my datacontext and all that good stuff, but I don't really know how to do the SQL built in functions DB_Name and OBJECT_Name. I realise that I could do some sort of join to get the values for the id's instead, but I don't know which views I can find the database name and object name in.
Is there a linq equivalent to these functions? Alternatively, what are the system tables/views I need to look at to convert these ID's into their respective names?
View 1 Replies