I have a dataset that pulls information about topics. However, I need to filter the information so i only get the topics with certain Topic Codes (These topic codes are in the form of an array).
Me.TblTopicsTableAdapter.Fill(Me.MainDataSet.tblTopics)Right, let me try and explain better.
I have an array named COURSE_Topics. This array contains topic codes as string elements.Currently, my table adapter query looks like this:
SELECT [Topic Code], TopicName, NoOfCourses, Duration, StartDate, EndDate, [Level] FROM tblTopics
At the end of that query i need to add a WHERE [Topic Code] = - then list of topic codes in the array.
i was thinking that sometimes it is hard to learn something when you don't even know what you are missing. so basically i was trying to put together a list of topics on Vb. i wanted to cover everything.. but i do not know everything about vb.
Basically I have a test tomorrow in CPS 110, my programming class that I am completely lost in. I plan on becoming a network admin and not a programmer but I had to take the class. Anyways, here is the email of the review my professor sent me. Following that I am going to say what I need help with.
CPS 110 Spring 2009 (Singh) Review topics for Test 2(You are expected to remember the previous stuff: datatypes,if / if-else statements and booleans).I. Select case statements: write code/walk through
II. Strings and built-in methods. You CAN use the handout about strings and characters from class on the test.
I'm making small application to posting new topics in phpBB forums... But I have a problem. When I click on send button in my application, forum shows me an error: No post mode specified phpBB posting:
Have never used this website for such questions. Need to create a resume/ Have researched, but have had 4 resumes rejected from a design perspective. Cannot be just a normal resume. Background can be created in Photoshop, Logo in Illustrator.Think I have that one okay. More a problem with the background and design in Indesign.
I have read - recently - many topics concerning the connection of TCP/IP connecting versus using the old winsck connecting method. Currently, I'm in the middle of a project and I'm completely lost as to which direction to go because I've tried both directions (winsck & TCP/IP) without any sort of avail. Currently, I am attempting to create my own mud client (as a reference, you could look at Nerdy Mud Client @ SourceForge - I'm trying to recreate the VB6 project using VB 2008 EE).
I am developing a software for tracking the time and attendance for employees. I am learnt the best way for me to be able to capture this information is through the use of a biometric device. But right now my problem is how do i integrate the biometric device in my project. What do i need in order for my Vb.net to be able to recognize the biometric device so that i can record the details captured into the database.
I use DocTools to Create a Compiled HTML Help File. I want to link to a specific topic in the help file from my program, but the filenames of the html files are generated randomly.
Is there any way to open a CHM to a specific topic by name?
I created a wrapper for DocTools, so I could have the command line piped to a text box and then I could obtain the Topics from there and save them in an INI file that I read when I call the help, but I don't know how to pipe the command line to a textbox.
The only way I can think of to display this moustache is by creating a new form and locking it to a certain point, that all works.My problem is with all the events surrounding this. E.g. minimizing the actual application etc...I know how to handle those in code but that is painstaking as I have to think of every possible event which would result in a problem then manually code for the moustaches relative actions. So, I would like to know:
I have this code twice in a sub, the first one is textReader, it looks a different XML file and Loops the entire file fine.THis however is textReader2, it looks the first "Topic" then exists the XML file.
Can someone talk me through what is happening here? and why ive got textReader2.Read 4 times?
I'm looking for the proper code in .net platform to call and edit different properties of ADF scanner. And also how to find out if there is any paper(s) in the feeder?
I am from c# field and now are doing a project using VB, I wants to ask about question as below:1) private static DataSet ds; I wants to convert the C# codes above to VB syntax, but VB seems like don't have equivalent keywords of "static"(Correct me if I was wrong).
For Each dr As DataRow In DsReports.DataTable Dim Cmd As New SqlClient.SqlCommand("INSERT INTO Temp " & _ "VALUES (@ID, @AccountDeatil,@Debit,@Credit)", Cn)
I am trying to translate some VB codes to C++. And I am not quite sure what this line does.
IIf (n& 1=1, 0.0005, -0.0005)
I know what IIf(logic, true_value, false_value) does, and I guess the & operator is supposed to concat two strings. But I am not sure what the intention of using "n & 1 =1".
I'm making a tv player and I want to make vlc to play my streams, i need also the code to record the stream and the code for fullscreen. i will be more detailed in the following picture
This is for vb.net I've been working to develop a system which involves computation.What I've been trying to develop in my program is, I have a textbox where user will enter a numeric value,there is a button and a label below and in the first place the label should be set to zero. Everytime you enter a numeric value in the textbox and click the button it should add the value in the label and should save the value in the label so even if you exit the program whatever the last value displayed in the label should remain the same when run the program again,I believe it requires a database to save the value.Basically its like with payment system which saves the total amount of all payments made.
This is how should it works,say for example,if you will enter 1,2,3 it should save the sum value which is 6 in the label even if you close the program and when you run it again and enter another value it should add to the current value which is 6.
In C, Pascal, and C++ it is possible to use the FormatMessage function to retrieve a "friendly" error message that corresponds to a COM HRESULT error code. This question contains sample code that demonstrates the C++ approach. Of course it would be possible to build a managed C++ assembly to perform this function for C# and VB.NET code, but I'm wondering: is there a way to translate COM error codes using the .NET system libraries?
I need to be able to write data to a binary file. No problem - I have a test app I've knocked up that reads and writes to them fine, however the format uses C0 and C1 control codes, and I have no idea how to write them properly. The SOH, ENQ, DLE, NUL type of thing. I'd post some but they are non-printing. I know what they mean and what they do but have no idea how to write them.Basically we are writing our own system that generates test data files for import by another program. My files that I write have the correct number of fields and correct value and formats but because I can't get the tags to write they data is imported incorrectly. I've spent days reading up on it but can't find what I'm looking for.Not dealt with binary data files in VB before so this is all new.
I have a Windows form application written in VB of about 5000 lines of source code. For security reasons, I have changed all the names for variable, sub, and function to meaningless strings. For example strFileName to XBHDY. Apart from doing some test runs of the modified code, is there a reliable way to check that the two sets of codes are completely equivalent?
I have following codes on lostfocus of textbox1.text to search values. It works fine but how to navigate database. I mean what codes should I use for Next Record and Previous Record Buttons. [Code]