|
they don't really help. let me expand on what i'm doing. i'm trying to write to the hd directly and use the basic i'm familiar with. i studied python and visual basic as well, they are not really suited to what i'm doing. the basic i used is called ti basic, found that last night. i found a bunch of variants, but i may as well use vb if i have to use one i don't know. i'm thinking i'll have to use assembly language to get the job done, it involves writing repeated 1's to the hd, then 0's, then 1's again. from what i'm reading, ti basic would be great for this, but i can't find a compiler that works. if i can find some way to interact with the drivers of the hard drive, that would be the best way to do what i'm trying to do. like tell the driver to write to the hd til it's full, the do it again. i know i could use debug to write to sectors of the hd, but if i mess up, there goes the box i'm working on. it's sort of advanced and may well be above my level of expertise, so if you can't help me, i understand.
|
|
|
|
|
What system do you expect to run this on? If it's Windows, UNIX or Linux you should probably be thinking of using C/C++ as you will most likely need to make system calls that are not so easy to do in Basic. I would be interested to know what you expect to happen when you tell the disk driver to write to the disk until it's full. More than likely your system will stop dead.
Binding 100,000 items to a list box can be just silly regardless of what pattern you are following. Jeremy Likness
|
|
|
|
|
it's similar to a disk wipe, except instead of algorithms, i want a loop to write 1's, then 0's, then 1's. and yes, the whole idea is for the system to stop, the trick i'm trying to work out is how to make the loop run until it finishes. i'm thinking that anything i compile in any language will stop when enough of the hd gets erased. probably have to go with assembly language, and what i've actually picked up so far has been relatively easy to understand. i actually learned enough from what i read that i was able to fix a couple of programs i wrote which weren't working.
|
|
|
|
|
Hello,
Forgive if this is in the wrong forum. I didn't see a better one to use. i'm confused on the mapping of a 1 to many. I have 1 table with a primary key of userid. I have another table with the primary key of userid and authid. I created an association of a 1 to many (because one user record to many occurrances of security authorizations for that user). When I assign userid to userid - that's fine but obviously I don't have a match for authid -> and the compiler isn't happy about that. So how does 1 to many work or am I missing something - in order to have a many, the primary key can't match because it 2nd tables record's primary key has to be unique?
Any help would be appreciated.
Nathan
'Never argue with an idiot; they'll drag you down to their level and beat you with experience.' ~ anonymous
|
|
|
|
|
nlarson11 wrote: Forgive if this is in the wrong forum. I didn't see a better one to use.
How about the one titled Database[^]?
Binding 100,000 items to a list box can be just silly regardless of what pattern you are following. Jeremy Likness
|
|
|
|
|
I would guess that your composite primary key is incorrect. Ask this question, can a user have multiple types of authorisations. If yes then you need a many to many link
User - UserID
Authorisation - AuthID
Link - LinkID - unique constraint (userid/authid)
I hate composite primary keys - personal bias only!
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Thank you for your reply. Yes, a person can have 1-N authorizations.
I guess i'm still confused with 1 to many in this context. From the user record, I wanted to include the auths table to get at the auths relating to that person. In order to have a 1 to many, the 2nd table must have an additional field(s) defined as the primary key for uniqeness. But EF seems to want a matching of 1-1 of primary keys. Not sure how that's can be. Unless there's something about the mapping I completely am overlooking.
Nathan
'Never argue with an idiot; they'll drag you down to their level and beat you with experience.' ~ anonymous
'Life's real failure is when you do not realize how close you were to success when you gave up.' ~ anonymous
|
|
|
|
|
How to retrieve the particular row from the database table to the datagridview.
I will be comparing text box with one of the column name and if that matches then only that row should get display in the datagridview/
how to do this?
|
|
|
|
|
What have you tried?
There are quite some walktroughs on MSDN, also on the DataGridView - Google knows where.
Bastard Programmer from Hell
|
|
|
|
|
How to retrieve the particular column row to the text box?
I mean how to display it in textbox?
The column has got different rows.
The code I wrote in vb net is :
cmd = New SqlCommand("select ida from Issue where aname='" + TextBox3.Text + "'", con)
In the above line I compare the textbox3 data in the table.
And if the data matches then it should display the ida column record that matches with aname row record to textbox4.
I am doing something wrong for sure as I wrote it in this way:
textbox4.text=cmd.ToString.
The above line din't give any error and it din't show anything in textbox4 also.
So ,how to display it?
|
|
|
|
|
It looks like you have not executed the SQL cmd.
Something like this ...
Dim SQLrdr As SqlDataReader
SQLrdr = SQLcmd.ExecuteReader()
While SQLrdr.Read
debug.print (SQLrdr("ida"))
End While
SQLrdr.Close()
SQLrdr = Nothing
Check on other ways to execute SQL.
Look at DataAdapters and ExecuteScalar
|
|
|
|
|
I have an update button and a datagridview that bind one of my table. when I click on update button it successfully update but my problem is my datagridview doesn't update automatically.Can you give me some idea or code to resolve my problem.
I'm a newbie in vb.net
tnx in advance
|
|
|
|
|
Please do not post the same question at two locations. This question was already posted under Quick Answers section.
|
|
|
|
|
I would like to automatically include the latest compile date and time in my .exe. I am using Visual Studio 2010. Is that possible?
|
|
|
|
|
Not directly, but it's already there. Look at the LastModified time on the resulting .EXE file in your BIN folder.
|
|
|
|
|
There is no equivalent for the C preprocessor capabilities for including the compilation date/time, however you could look at the creation or modification datetime of the EXE file. I suggest you read up on Application.ExecutablePath and FileInfo .
|
|
|
|
|
Hello,
I have an urgent task that requires to write an application in VB .NET with features like IVR and DTMF. I am running out of time so I found and SDK called Ozeki SIP SDK in order to get ready with the task. I am doing the things provided by the following page: http://www.voip-sip-sdk.com/p_331-vb-net-dtmf-ivr-voip.html[^]
What do you think will this tool be relevant for my task?
Please share your opinion.
|
|
|
|
|
without testing it myself it would appear that it could do what you require of the SDK, the only thing left to do is test it!
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
|
|
|
|
|
it's like Warcraft Local Area Network games.
everyone can create their chat room, everyone saw all available rooms, and everyone can join the room freely.
i searched at google and keep finding chatting application with single server (even DOS server)
i really don't know what keyword to search at google.
can somebody tell me the keyword? i will try to learn by myself first.
Thanks before,
VK
|
|
|
|
|
"Peer to peer"
Bastard Programmer from Hell
|
|
|
|
|
you're good, i learned it in only 1 hour.
i created a server and client program.
the server keep listening and any single text send from client, i write it in textbox.
and the client mark the server IP and can only send text.
nah i got question, chatroom is something that everyone sees every word.
so if server receive text from 1 client, server should loop and send it one by one to client?
btw, thank you very much.
|
|
|
|
|
vkstarry wrote: i learned it in only 1 hour.
Whehe, that means that you are good at it - not me.
vkstarry wrote: nah i got question, chatroom is something that everyone sees every word. so
if server receive text from 1 client, server should loop and send it one by one
to client?
Yup, or store it all in a central location (but than you'd have a server again).
You could "promote" one of your peers to "act" as a server for the duration of the chat. All the clients would have to agree on who gets promoted, but it should generate less traffic than having each client update each client.
Bastard Programmer from Hell
|
|
|
|
|
anybody can help me..how to control motor use visual basic at avr?
|
|
|
|
|
You can start by NOT hyjacking someone elses thread.
I think you may have missed the "Ask a question" button above the forum posts.
|
|
|
|
|
I am facing a certain problem. I am trying to delete a certain file programmatically that resides in the system32 folder (malicious file). When i try to delete it using the kill statement an error message shows that says Access Denied as the file is being used by another process. When i searched i found out the that winlogon.exe uses this executable. How can i remove this handle programmatically. Any ideas and suggestions would be very helpful.
|
|
|
|