|
How can I create a sudoku solver
Passion
|
|
|
|
|
You could have search CodeProject for Sudoku[^] and would have found some articles already implementing what you want.
|
|
|
|
|
If you really want to see what goes into creating one, check this[^] out.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hi!
Can someone help me how to instance an axtivex object from a remote activex server? Createobject fuction will result in an error saying that the class is not registerd.
I created an activex server which is running in a separate computer. all my clients should take instances from that server. but i cannot do that with CreateObject in my client side programs. I am using VB6...
How can i do that????
Thanks
Leelanga
-- modified at 9:52 Monday 1st May, 2006
|
|
|
|
|
Actually, you DO use CreateObject. The problem is that your client machines don't know where the object is that is to be created. You can't just tell the machine Create this on this machine. You still need to register the COM object on the client machine. It's in that registration that the details of where that object is are stored.
Wow. I really need to dig up the old source. The last time I did something like this in VB6 was about 6 years ago. I wrote a keylogger that popped up a window on my machine the instant the remote server was instantiated on the client machine. Now where did I put that stuff...
You can start with this[^] little KB article to give you the basic idea.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hi Dave
Thanks a lot for that link. It was grate. Hay can you tell me another thing…is there any way that I can track all the instances of a particular activex server. What I want is to send a signal to all my clients at that moment. How could I do that in VB6?
Thanks a lot once again
Leelanga
|
|
|
|
|
Your server has to be written to be a Singleton (Single Instance) and has to be written to keep track of all the clients that connect to it. There is nothing that will do this for you.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hello I would wish to print on a sheet with the A4 format forty calculations which would be generated by the computer. (I had to create a program in vb6 who did that thanks to an additional component called nifprint here With vb 2005 express , I do not know, by what to start to carry out such a print. I know how to create calculations, but how to store them for then printing them?
what do need I : which control do i have to use for, then, using the new print controls (previewing and C°) offer in vb 2005 ?
Thanks for giving me a guide line.
quisnam igitur sanus ?
|
|
|
|
|
By VB.net programing, how can I explore a remote computer files and folders , and create or delete from it?!
Please, help me!
If anyone access me to a ready open code project, or any hits to do.
Thanks.
Joseph
|
|
|
|
|
hellow to all ..
i am looking to a way to print more than one report in one click , , that mean when i click the button i can print 4reports at once or show the 4 reports in a crystalreportviewer , thxx for anyhelp ,
|
|
|
|
|
Hi all
How can i read word (.Doc) file line by line from VB6
thanks
|
|
|
|
|
hi!
first add word referens to ur form
then create a new object from it.
then oenn it(give adress)
annd with read method ur work has finished!
good luck!
|
|
|
|
|
|
how to create code for sending argument to vb.net from vb6.
and how can vb.net receive the argument.
example:
send location path of folder from vb6 and use the path location in vb.net
thank you for kindness..
Ihsan
|
|
|
|
|
|
hello,
can u help me plz
i want to inherits some properties of treeview control to the listview control , 'coz i need this for my application.
i wil be gratefull
plz
give me solution
Regards
Irfan Siddiqui
programmer
|
|
|
|
|
What exatcly are you trying to achieve? What you request is not possible (would require multiple inheritance).
|
|
|
|
|
hello
thanks for response
sir i have a treelistview class that has all the properties of a control
& i wanto add a property called focused node and i used this property but i won't work .
Regards
Irfan Siddiqui
programmer
-- modified at 6:32 Monday 1st May, 2006
|
|
|
|
|
Hi,
sorry but you don't provide enough infos so that I can help you.
What extactly is treelistview? Its not part of the framework. Is it a control you built yourself or one downloaded from somewhere?
If it is not too much you can post the relevant code snippets and point out what exactly is not working.
|
|
|
|
|
hello
thanks for ur interest
yes i have download it , it is a hybrid of treeview & listview control. but it has no property like other controls have as Focusednode or focuseditem hence i want to add this property in my Treelistview.
i am showing u some code sample of its property called
selected node property,
but it's not working
Private WithEvents mSelectedNodes As New NodeCollection<br />
<Browsable(False)> _<br />
ReadOnly Property SelectedNodes() As NodeCollection<br />
Get<br />
Return mSelectedNodes<br />
End Get<br />
End Property
Regards
Irfan Siddiqui
programmer
|
|
|
|
|
Hi
I want to change the GUI of my program to something more intresting (than the usual shape of forms and controls).
I don't know where to start... I'd be glad if someone could show me a tutorial and/or controls to do so...
Thanks
|
|
|
|
|
What I am doing in my application is the following
I build one seprate class project so that I can use this on different projects. in this project i build one function say SetSkin this is as folows
private sub setSkill(byref frm as object, optional SkinType as integer=0)
Dim obj as object
if skinType=0 then
for each obj in frm.controls
if typeof obj is button then
' set some properties here for button
elseif typeof obj is textbox then
' set some properties here for textbox
elseif ......
' ohers
end if
next
end if
end sub
this way you can change the skin type and make different skins from parameter and also change the shape etc and call this function in load of your form and send the form like
setSkin(me,1)
regards
Rizwan Bashir
|
|
|
|
|
I put together a form with one text box on it. Add a database connection, dataadapter and create a dataset. I databind the text box through properties. I use the fill command to fill the textbox with data. I see the data. I edit the data and the dataset does not seem to accept it.
If I do exactly the same thing using a datagrid instead of the textbox, it takes the change I made...
All sample code that I can find deals with datagrids, there is nothing that I can find for a simple textbox.
Figuered it out as follows:
Dim nsn As String
nsn = txtSchoolName.Text
Me.DsSchoolInfo1.tbl_SchoolInfo.Rows(0).BeginEdit()
Me.DsSchoolInfo1.tbl_SchoolInfo.Rows(0)("SchoolName") = nsn
Me.DsSchoolInfo1.tbl_SchoolInfo.Rows(0).EndEdit()
Try
Me.DbaSchoolInfo1.Update(DsSchoolInfo1)
Catch x As Exception
End Try
Me.Close()DSS
-- modified at 20:57 Monday 1st May, 2006
|
|
|
|
|
first locate datarow position ((me.bindingcontext(dataset,"ur tablename").position) then update it with a command builder:
cb = new oledbcommandbuilder(da)
da = cb.dataadapter
da.update(ds,"yourtablename")
good lock!
|
|
|
|
|
Thanks for the help. I was still not successful in my attempt trying with your proposed solution. I posted some code in my question that I tried as well...
DSS
|
|
|
|