this is my Problem:
I created a dataset xsd called dataset1.xsd,and xml schema called transaksi.xml
And this is my code :
Dim stream As System.IO.Stream = System.Reflection.Assembly.GetExecutingAssembly().GetManifestResourceStream("transaksi.xml")
Why the value is always 0 ?
I am having problems exporting a form and all its contents as an image. I just get a picture of the form and nothing of its contents. If I print the form, everything is there, but is i save as jpg, nothing. I have been told to use the draw command but all I can see is how to draw lines and circles etc. Is it possible for me to draw an imported jpg image onto a form. Currently I have 4 portrait pictures all added into individual picture boxes.
It looks like a game of checkers?
And you say your code to take one chip works?
Ok so as I see it maybe you can place the (YOUR CODE) code block which takes the oppositions chips in a LOOP where, after taking one chip you see if there are other chips to take (as partof the same same move using the same peice/chip/counter that you use to make the initial move and if not another then obviously let the otherplayer have his/her turn.
So to explain roughly you would end up with....
Player 1 turn (your code)
My_Turn_Complete = False
My_Turn_Partial = False
'The next line looks for pieces that can be taken by your Piece
If I can take opposition pieces Then
Take oppostion peice
YOUR CODE FROM HERE
'i have started a move which may let me take take more pieces
My_Turn_Partial = True
ElseIf My_Turn_Partial = true Then
'I took opposition peice and no more can be taken (so my turn is finished now)
My_Turn_Complete = True
'I could not take any opposition peices
'and My_Turn_Partial was false so i will defend my lines
YOUR CODE HERE (to defend your lines NOT take oppososiotn peices
My_Turn_Complete = True
Loop until My_Turn_Complete
Player 2 turn
Let player 2 make his/her move
Loop until end of game
There is a bit more than above obviosuly,
because you cannot use a different piece/chip/counter once you have started a move,
so you need to check if its the same piece that allows you continue.
but i think there is enough above to give you an idea
Hi man thx for you help i fix the problem, the end i can't see who call, jajaja..
Pls help with this problem...
I am desperate looking for someone to help me in a project that I want to perform, I have a Windows XP sp3 activated the routing and remote access service (remoteaccess) for some users will be able to connect via modem. What I need to know is if i can control and monitor the users that may be connected as well as the time they had connected them disconnect, you know of any project, bookstore, code, something for such a thing.
I load the pdf file into webbrowser control. Now i need to save into a table. the form in question already has a dataset binding into it. I neesd to take the pdf file that's showing in the webbrowser control and to be saved with every control on the form.
Here the code below that I used:
Dim Response As DialogResult
OpenFileDialog1.FileName = ""
OpenFileDialog1.Filter = "PDF Files(*.pdf)|*.pdf|All Files(*.*)|*.*"
Response = OpenFileDialog1.ShowDialog()
If Response <> Windows.Forms.DialogResult.Cancel Then
If OpenFileDialog1.FileName <> "" Then
i have a table name ManifestTD with dataset ManifestTD_dataset with column (ID as PK, Data as Binary(MAX)
How to get this save into the table ; also be able to doubleclick to the webbrowser command to view the entire pdf document through adobe
I have a form that has various pictureboxes that are populated by the user. Once the form has all the pictureboxes full, the user needs to save the whole form and its contents as a jpg. The only problem is that the only thing that is saved is the picturebox.1.
I can see that in Case 1 section I am telling the program to save the PictureBox1 in form 2 but I want it to merge all the PictureBoxs in form 2 and save as a jpg. Can anyone tell me where I am going wrong
Dim saveFileDialog1 AsNew SaveFileDialog()
saveFileDialog1.Filter = "JPeg Image|*.jpg|Bitmap Image|*.bmp|Gif Image|*.gif"
saveFileDialog1.Title = "Save an Image File"
' If the file name is not an empty string open it for saving.If saveFileDialog1.FileName <> ""Then' Saves the Image via a FileStream created by the OpenFile method.Dim fs As System.IO.FileStream = CType _
' Saves the Image in the appropriate ImageFormat based upon the' file type selected in the dialog box.' NOTE that the FilterIndex property is one-based.SelectCase saveFileDialog1.FilterIndex
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
Last Visit: 31-Dec-99 18:00 Last Update: 29-May-17 18:14