Visual Basic

1) Load the data into a SQL server table.2) Have your application access and manipulate the data in the database.3) Whenever you need the file, then run a routine to export the data from the database to the XML file.

in THAT page (the page in your link - or even ANY other page you wish)

first assess if the FRAME or IFRAME tag is present and if it is then load the SRC file that the individual FRAME SRC points to and then run your code for EACH frame and treat each frame as a separate html document.

If the fields your looking for are there then your code will do what its supposed to and if not then your code shouldnt do anything and you simply continue to the next frame.

If theres NO frames then your code will operate as normal....

See the pseudo code below

'1 Get the ORIGINAL document
'2 look for the FRAME tag (if no frame tags jump to step 10)
'3 in the frame tag look for the SRC attribute/element
'4 load the document using the SRC as the file to load pointer
'5 == YOUR CODE HERE ==
'6 we are done with this document
'7 we are done with this frame
'8 move to the next frame (and repeat till no more frames)
'9 All done - jump to step 12
'10 == YOUR CODE HERE ==
'11 All done - jump to step 12
'12 Finished

I currently have an array populated with string values and am trying to compare the values in the array to other string values, but I am getting an error. The error message is “Conversion from string "SDrug" to type 'Boolean' is not valid”. Here is the code I have written.

Hi,I am trying to generate a report from a data table with an unknown number of columns at design time. The application allows the user to choose what column to show, and I don't know how to bind a table with an unknown schema. Can someone please give me some points and avice about how to do this?thankskevinMickabooh Systems LLC

I'm using Stored Procedure,3 tier and VB.net. Now, i click the gridview and then want to show the data in textboxes and pictureBox to update the informations. The problem is that , how can i retrieve photo to picture box???

Hi I've recently started programming and for a project i need to learn how to create my own AI program and i need to understand how it is done I need to know everything from opening VB i can do basic thing in VB but i have no idea were to even start with this can someone help please from the very start or at least help a little Thankyou anyone who helps

Lobster Thermidor aux crevettes with a Mornay sauce, served in a Provençale manner with shallots and aubergines, garnished with truffle pate, brandy and a fried egg on top and Spam - Monty Python Spam Sketch

I don't want to make a very complex one just one that can make replys and activate event from speech, not to complex ofcourse i know there is AI programs you can download like this like helpful AL like that basically.

I want to be able to make a basic program that i can run. I want it to be able to use speech recognition but i dont mind using text, with some sort of speech from the AI. like siri basically.....i understand this might sound like facepalm. I know Siri was created by proffesionals over years under the CALO project. I obviously dont want it as complex as Siri.i uderstand for actually siri the framework is python and java i dont mind changeing programming languages aslong as i can create this myself, the language doesnt matter.

All these things are possible, but it would be quite a challenge for someone who is still learning programming. The first thing you need to do is study your language of choice and get comfortable with building simple programs.

i can do basic things i understand variables can make a simple replica of notepad, and number calculator but a basic one and just basic programs really im also tryna learn how to make a media player at the moment, but its just getting off the ground with this is hard.

No one said it would be easy; programming requires considerable thought and effort. Don't assume that you can turn out a complex application after just a few days. The only way to produce great, or even good, work is practice, practice, practice.

Help with what? All we know is that you want to write some sort of AI program in Visual Basic. Unless you explain exactly what you are having difficulty with we cannot suggest much more than: "try some Google searches for AI".

i can do basic things i understand variables can make a simple replica of notepad, and number calculator but a basic one and just basic programs really im also tryna learn how to make a media player at the moment, but its just getting off the ground with this is hard. Do you know were i could ind out how an AI works how the code links etc.

i can do basic things i understand variables can make a simple replica of notepad, and number calculator but a basic one and just basic programs really im also tryna learn how to make a media player at the moment, but its just getting off the ground with this is hard. Do you know were i could ind out how an AI works how the code links etc.

An AI is a few levels complexer than a notepad. Google for "Eliza", there must be some chatbot-code around that you could build on.

Hi, anyone can give me idea on how to do this? I'm used to gridview for updating multiple data to sql table. But how can i insert to sql table a list of data from a table/form? Its a situation where a lecturer wants to register a list of student for a subject.

sorry.. still cant understand how it works. i have a html table where there are 3 columns studentID,studentName, courseName. There ada 10 rows of textbox for each column. Can u explain how can i use the one that u gave me? I'm not using gridview because my data doesn't exist in the sql table yet. Hope my explanation is clear because my english is not that good.. TQ for the reply... been waiting every minutes for reply

i have a html table where there are 3 columns studentID,studentName, courseName. There ada 10 rows of textbox for each column. Can u explain how can i use the one that u gave me?

That explanation would not fit in a single post.

zaimah wrote:

I'm not using gridview because my data doesn't exist in the sql table yet.

You'd need to CREATE TABLE before the INSERT. Both are done using Sql, a separate language with it's own syntax. The other method that's being described in the documentation, is the TableAdapter-approach, where the framework generates these commands on your behalf.

zaimah wrote:

been waiting every minutes for reply

As opposed to waiting, find yourself a tutorial, an article, anything that gets you moving in the right direction. It might take a few days before you get a satisfactory answer.

I already have a table "student". And i have a web form where the lecturer can insert a list of new student. I cannot use gridview not because the table doesn't exist, just the data does not exist yet until the lecturer key-in the data.

i know how to use sqldataAdapter to retrieve value from sql table and put it in a textbox. But that is if the data exist. Will try to look for tableadapter.

Sorry again, i waited and at the same time been searching for solution all over the place for any articles related to my problem.

I already have a table "student". And i have a web form where the lecturer can insert a list of new student. I cannot use gridview not because the table doesn't exist, just the data does not exist yet until the lecturer key-in the data.

You'd also need a list that contains the students that are linked to a course, and execute insert-commands to fill that. It also means that the student will have to exist, before this list can be saved.

zaimah wrote:

i know how to use sqldataAdapter to retrieve value from sql table and put it in a textbox. But that is if the data exist.

Its a bit confusing rite now for me. The lecturer job is to register the student to the table "student". What do u mean by the student will have to exist before the list can be save? Do u mean i have to type manually to the table "student"?

Been trying to find Insert from html table to sql table but keep on seeing from sql table to html table...

The lecturer job is to register the student to the table "student". What do u mean by the student will have to exist before the list can be save? Do u mean i have to type manually to the table "student"?

The list you are trying to save is a combination of the student, and some other record. Before you can save anything that's linked to a student-record, the student-record must exist in the database.

So, first the student is "inserted", then the rest.

zaimah wrote:

Been trying to find Insert from html table to sql table but keep on seeing from sql table to html table...

Data is seldom saved in the same way as it is presented. Can you list the other tables that you have besides the student-table?

is there a way for me to insert all using this coding? lets say i have 10 record, how can i use this code to insert each record that i key-in? i want to insert 10 or more records at a time. I manage to UPDATE multiple record using one button on grid view.

But for INSERT, i can only manage to INSERT record one by one. Is there a way for me to INSERT lets say 10 records at a time?

I am recently using SQL for a project of my own. I came across this post and thought I might be able to offer some input. For example, in my team group is creating a database.

There is a way to insert multiple rows into a table in SQL without having to insert them individually. You could formulate the data to be inserted as select statements for multiple list row entries, but I believe for this to be accomplished you may have to do two stages:1)Put the data into a temporary table2)Insert from that table.

Does it has a tool to know the memory occupied by a form in a VB application?

Various companies supply memory-profilers, or, one could use the CLR Profiler[^] from Microsoft.

You could also ask the Marshal.SizeOf[^] the form. Take in account that embedded objects (such as a Font) might exist once, and not use memory on each property-slot (only the size of a long for a pointer)

I am trying to write a simple WPF application in VB using Vs2010 and SQLExpress 2012, although i am not using any databinding.

The problem is that although i have found lots of examples of how to write code to read data from the database, some of it seems very complex and others real simple.Now i want to update my DB and add (transaction log) records to it, i cannot find an example that works with my current setup. It can't be that difficult can it?