|
Dee Kay wrote: 'populates array values
For x As Integer = 0 To 1
playerData(x, 0).offenseRank = temp1
playerData(x, 1).defenseRank = temp2
playerData(x, 2).shootRank = temp3
x = x + 1
Next x
Look at what you did in this code. You setup a loop where on the first pass, x will be 0. You fill in your array, (0,0) (0,1) (0,2), then you increment x, so now it's 1, THEN YOU REACH THE "Next" statement, will will increment x again, so now it's 2. Since the For statement says 0 to 1, 2 is greater than 1, so the For/Next terminations, never filling in the (1,0) (1,1) (1,2) array values.
|
|
|
|
|
hi guys i dont know i am in the correct forum ,but i need help ..
actually i am working in vb.net (2005) and crystal reports ,
i am retrieving from data base and showing on a report, problem is that when there is a null value in the data base so on the report it remains blanck but i want to show a 0 value as it is a numeric filed and i am performing some calculations based on that field so if it remains blank i cant perform calculations correctly , i just want to display a 0 value when there is a null value in any row in a particular column,, thanks in advance
hello
|
|
|
|
|
Hi,
In order to get the desired output you may use try using If.. Else condition like:
If IsNull(Field.Value) then
Field1.Value = 0
End IF
If hope this helps .
Regards,
John Adams
ComponentOne LLC
|
|
|
|
|
Why would you have a NULL value in a numeric column in your database anyway? (Hint, hint)
Either make the change to the database table, or have the database replace NULL's with 0's, or write code to go over the returned DataSet (DataTable) and replace NULL's with 0's yourself. THEN you can pass the DataSet to the report.
|
|
|
|
|
hi, I made a program that record a video from a webcam in vb .net but my problem is that my recorded video have a extension name of .avi and its consuming all my hard disk space. Is there any other way to make my videos size smaller?
|
|
|
|
|
hi can u please tell me about the code u use to done this task.
i m working on the same. please tell me. thanks in advance.
|
|
|
|
|
what kind of code are you asking for? For the video recording?
|
|
|
|
|
This depends on what you're using to capture the video and save it to the AVI. It has to expose some methods for changing the encoding graph so you can add/change codecs to add compression to it. From the sounds of it, you're saving each frame of video completely uncompressed, which will, obviously, take up a LOT of space.
|
|
|
|
|
I'm just using a 2.6 mega pixel webcam. It really take up a LOT of space. Just imagine that a 1 min. video will take up a 290 memory space. Can you tell me how can I compress the video?
|
|
|
|
|
Like I already said, that's up to the video capture library that you're using. It has to give you the options to compress the video. If it doesn't, you'll have to use a different library that does, such as Microsoft's Media Encoder 9 SDK.
|
|
|
|
|
I'd like to have some members in my form (boolean/String etc) but I can seam to access them.
This is the code part of my progress dialoge.
Option Explicit
Dim Abort As Boolean
Private Sub UserForm_Activate()
Abort = False
' Set the width of the progress bar to 0.
Progress.LabelProgress.Width = 0
Application.ScreenUpdating = False
DoEvents
If (bRockwellPhases And Not Abort) Then
Call generateRockwellPhases
End If
Hide
End Sub
Sub UpdateProgressBar(PctDone As Single)
...
End Sub
Sub setAbort()
Abort = True
End Sub
So problem is, how do I declare "Abort" correctly and how do I access it from UserForm_Activate() and setAbort()
Best regards Henrik....
|
|
|
|
|
hello!
I need any article on the topic "Application/ Benifits or Advanteges of a Digital Dictionary".Please any one help me to search this topic at least five pages.
i'll b very thankfull.
my email id is: abdul_bu@yahoo.com
|
|
|
|
|
Don't cross-post. It's rude. Read the forum guidelines.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Looking at his profile, he looks like a habitual cross poster
"I guess it's what separates the professionals from the drag and drop, girly wirly, namby pamby, wishy washy, can't code for crap types." - Pete O'Hanlon
|
|
|
|
|
hi
i am nikhil, an engineering student.nw i enguaged with my mini project 'sms jukebox',for this purpose i want 2 know how can we access sms 2 our vb.net projects from mobile phone through data a cable? i am using visual studio2005. pls help me....
coooool
|
|
|
|
|
You will either need your phone connected to your PC somehow, or use a Web Service.
If you have your mobile phone connected to the PC, chances are the phone will expect data via a serial connection.
Check out the manufacturer's website for your mobile, as they may have an API you can use.
Steve Jowett
-------------------------
It is offen dangerous to try and see someone else's point of view, without proper training. Douglas Adams (Mostly Harmless)
|
|
|
|
|
Hi,
I have encrypted the "WMV" video files. Is there any way to decrypt the Video files on-the-fly without storing on disk and play it in media player.
while decrypting i have a data as a BYTE[]. is it possible to assign the byte[] to player.
Thanks & Regards
Kumaran
|
|
|
|
|
So you are trying to give an encrypted video to someone so they access it and play the video, but the catch is that they can't access it?
Sounds... very zen.
|
|
|
|
|
You simply don't have a choice here. MediaPlayer doesn't expose a method to play from an in-memory stream. You have to give it a file to play, that's not encrypted.
Now, I know you've already bee told to write a codec to do this.
|
|
|
|
|
how to get file from internet by using the webclient
Dim Client As New WebClient()
Client.DownloadFile("http://www.yahoo.com", "D:\abc\yahoo.html")
when i run this code i am getting out put yahoo.html page when i run this code local host
if i host in remote server i want to download the same page in D:\ or any other directory what i need to give the path.
i getting exception when i run the same code in server.
i am getting out put successfully , when i run local host , pleasee any one can give me solution for this, i want to download file in my local phisical directoy, when i host my dotnet application in remote system.
This is haneef.............................................................
|
|
|
|
|
haneef, you are an idiot
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
haneef wrote: i am getting out put successfully , when i run local host , pleasee any one can give me solution for this, i want to download file in my local phisical directoy, when i host my dotnet application in remote system.
The account that is running your code on the server must have access permissions to the file share on your local machine. It apparently doesn't, or you haven't mapped "D:" to the share on your workstation.
In order to pull this off, you really need to understand Windows Networking. I suggest picking up a book on it.
|
|
|
|
|
I want put some buttons in datagrid of vb.net,how do i do it.Plz help me,
Thank you.
coolsatty
|
|
|
|
|
Please try to google it first.
http://www.google.com/search?hl=en&rls=GGLG%2CGGLG%3A2006-10%2CGGLG%3Aen&q=add+button+to+datagrid
|
|
|
|
|
Hey there,
first off all i hope you'll excuse my average english.
I'm tyring to create a UserControl with the following aspects:
+ it has a static image in the background, that is recreated every mouseup event
+ when i have a mousemove event while the left-mouse-button is pressed it should open up a rectangle
i tried some solutions, but nothing worked. (graphics, graphics and bitmap, ...)
has anyone an idea how i could solve this problem?
greets
Radames2007
|
|
|
|