|
Hi,
I am trying to run a VB6 application in Windows PE. VB application uses SSTAB control for user interface. WinPE gives an error message stating:
"Failed to load control SSTAB from TABCTL32.OCX. Your version of TABCTL32 maybe outdated. Make sure you are using the version provided with your application."
I have tried to load newer version of TABCTL32.OCX by first unregistering them from Windows System32 folder and then re-register by executing regsvr32 command on both machines where I developed VB6 application (which uses Windows XP Professional) and on WinPE machine. But still to no avail. Problem presists.
Any input will be appreciated. Thanks.
one-trick-pony
|
|
|
|
|
Hello ,
How can any service install programmatically in windows 2003 server ?
For Example :
Control Panel -> Add or Remove Programmes -> Add or Remove Windows Components -> and from Networking Services Group, install DHCP SERVER, Select Remote Installation Service Group check box (For Installation of TFTP Server)
This is manual process , but i want to do this thing in single click by programmatically .
Please, guide me.
pwk
|
|
|
|
|
If any one has source code of computer Lab managament system in VB .NET programming language then reply me
-- modified at 1:48 Thursday 14th December, 2006
Girish
|
|
|
|
|
girishpalmah wrote: If any one has source code of computer Lab managament system in VB .NET programming language then reply me
What do you wish to monitor?
If you try to write that in English, I might be able to understand more than a fraction of it. - Guffa
|
|
|
|
|
Hi, I have a real problem
I have been trying for days to thik of a solution for the following;
I have a table called AccessGroup and another called AccessPermission. I have a link table between the 2 because you have any number of AcessGroups assigned to any number of AccessPermissions.
When I want to ADD an access group, I simply input and Name for the AccessGroup like ADMIN. Then I select from a DataGrid, using checkboxes, AccessPermissions. I can choose as many as I want. When I click on SAVE, the link table will be populated with the relationship between the ADMIN AccessGroup and the AccessPermissions Chosen.
Here's the problem. When I select an AccessGroup from a DataGrid for updating, The ADD page appears with a textbox loaded with "ADMIN" and it is ReadOnly. That's fine. What I also want is for the checkboxes in the DataGrid which has all the AccessPermissions in a list to be CHECKED depending on what AccessPermission are assigned for that AccessGroup.
I hope that made sense. Please help.
Thanks!
|
|
|
|
|
Can you create an event so that when an item from AccessGroup is selected and then the 'Update' button is pressed, that the table that opens up has the selections of all the possible accesspermissions. Then all you need to do is run through a loop for each permission setup for the item on accessgroup and have it check the neccessary boxes.
|
|
|
|
|
Helo Everybody!
Im jonmargs from Bacolod city,Philippines. I am a new
member of Code Project...Ive been using clipper and dbase for 2
years and now i am upgrading my skills in windows programming.
Right now im Creating a program in Vb6.0 my backend is MSSql 2000
and Crystal 9.0 for my Report... my problem goes like this...
i am planing to create a report that can call stored procedure from MSSql
2000 to display in crystal report...Does anybody have this sample code?
thanks...
jonmargs;)
|
|
|
|
|
We have have 10 VB6.0 proejcts, all the 10 projects are refered by one Main Project (Vb6.0)
Using VS2005 upgrade wizard, we have migrated only the Main Project, .net automatically created interop for the other projects.
The application (migrated application) is running smoothly .net.
But while closing the applicaiton we are getting the following error :
"unhandled exception at 0x660688 (msvbvm60.dll) in DBCenter.exe: 0xc0000005: Access violation reading location 0xfeeeffaa"
Please help us to resolve this error.
Advanced thanks
Mano
|
|
|
|
|
good day to everyone, once again i need your help...
can anyone give me any third party grids that is customizable?... links are very highly appreciated thank you....... to be used for vb.net2005.... tnx tnx tnx.. datagridview is limited, its my last option... thank you very much....
nothing is impossible.....
|
|
|
|
|
How to Invoke the record in openoffice database
what is the provider in openoffice database.
i have try in sqldataprovider,Oledbdataprovider,Jet and the default wizard type also used.
so,please tel the open office provider...
Santhosh
|
|
|
|
|
how to convert excel data to sql server using vb.net code?
thank you
|
|
|
|
|
Error 1 Unable to write to output file 'C:\Documents and Settings\John\My Documents\Visual Studio 2005\Projects\Customers Database\Customers Database\obj\Debug\Customer Database.exe': System Error &H80070714&
It pops up when i try to run my program, also, i am unable to re-build my application.
Posted by The ANZAC
|
|
|
|
|
The ANZAC wrote: Error 1 Unable to write to output file 'C:\Documents and Settings\John\My Documents\Visual Studio 2005\Projects\Customers Database\Customers Database\obj\Debug\Customer Database.exe': System Error &H80070714&
It pops up when i try to run my program, also, i am unable to re-build my application.
At a guess, the program is still resident in memory. Bring up the process list in task manager and see if 'Customer Database.exe' is running. If it is, then kill it.
Otherwise, check the read/security permissions on the exe and make sure you have permissions to write it.
Also, check to make sure the folder exists.
|
|
|
|
|
Once again, solved my own problem( that I created anyway. lol). I had an icon, that i had created, the icon contained support for 256x256 pixel vista icons, yet vs can't compile these so it spat this error. I edited my icon now all is fine.
Now for the question:
What do you suggest as the best method to validate text feilds on a form? The controls are databound(SQL). Would it be best to use masked textboxes or string validation? What is the best way to do string validation? Are there other ways to validate that are simpler and more effective?
OK 4 questions (I got carried away. lol)
Posted by The ANZAC
|
|
|
|
|
If you want to validate the length of input, just set the "MaxLength" property of the texbox to something.
If you want the field to be required, user a <asp:RequiredFieldValidator>
If you want the text box to be a specific set of numbers or date. Study and use the <asp:CompareValidator>
If you want to do anything funky, check out the <asp:RegularExpressionValidator>
(checkout http://regexlib.com/DisplayPatterns.aspx)
For each Validator, if you set the "Display" property to Dynamic, then the text in the "Text" property will be displayed NEXT to the textbox control. if the "Display" property is set to None, there will be no display to the error message. The advantage in that one is that you can place a <asp:ValidationSummary> control which will display all error messages in one block from ALL the validation controls.
Play around with these things. It's quite fun
|
|
|
|
|
This all sounds interesting, but i'm writing a windows application. Is it still applicable.
Posted by The ANZAC
|
|
|
|
|
Not sure mate.. sorry. I am programming a web application
|
|
|
|
|
Simply define what the user can and can't put in.
Use this in the forms keydown (make sure keypreview is enabled) to determine if it's a number or a letter:
<br />
Alpha = False<br />
<br />
If e.KeyCode < Keys.D0 OrElse e.KeyCode > Keys.D9 Then<br />
If e.KeyCode < Keys.NumPad0 OrElse e.KeyCode > Keys.NumPad9 Then<br />
Alpha = True<br />
End If<br />
End If<br />
If e.KeyCode = Keys.Back Then<br />
AllowBack = True<br />
Else<br />
AllowBack = False<br />
End If
Then use this in the field's keypress if you only want letters and other characters:
If Alpha = True Then<br />
e.Handled = False<br />
Else<br />
e.Handled = True<br />
End If
And use this in the field's keypress if you only want numbers and not other characters:
If Alpha = True Then<br />
e.Handled = True<br />
Else<br />
e.Handled = False<br />
End If<br />
If AllowBack = True Then<br />
e.Handled = False<br />
End If
-- modified at 0:13 Saturday 9th December, 2006
Posted by The ANZAC
|
|
|
|
|
Hello,
I have a checked list box. When I run the application the checked is populated. But when I click on one of the items in the list, I have to check it twice to check the item.
Is there anyway that I can do to just single click to check an item in the list.
Many thanks in advance,
Steve
|
|
|
|
|
Got it, Should have seen that.
clickOnCheck is the answer.
Steve
-- modified at 1:23 Friday 8th December, 2006
|
|
|
|
|
I am trying to get information on creating a virtual printer driver in vb.net.
Basically, I need the application to appear as a printer in the windows print dialog. When a text file is "printed" to this program, I have custom logic to parse the text file.
Any help is appreciated!
|
|
|
|
|
I need to seacrh a simple customer database. As the user types in letters to a textbox, the a listbox filled with all available options will highlight the closest option to what is being typed.
e.g. in textbox "j" is typed
Listbox highlights "jim"
When "jo" is typed the list should highlight john
How would i search the database (sql) for the closest match on the text_changed event
I am using Visual studio 2005, a dataset, binding source and table adapter.
P.S. Would it be possible to search a list box in the same method without actually searching the source.
Posted by The ANZAC
|
|
|
|
|
You can filter the listbox by iterating over methods and using the string.Contains method.
select * from blah were col LIKE @param + '%'
will find all strings that start with @param.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Thanx Christian, i found an easier way though...FindString, this searches the listbox as the user types, as this changes, the listbox highlights the most relevant item, and because all my controls are databound to the same source, this then displays the correct information in the other fields i have.
Dim i As Integer = Me.lstLast.FindString(Me.txtSearchLast.Text)<br />
Me.lstLast.SelectedIndex = i
Posted by The ANZAC
|
|
|
|
|
How do i reset 1st item for combolist VSFlexGrid to blank after load the data from database, eg:
If adoRset.RecordCount > 0 Then<br />
grdPeriods.ColComboList(grdPeriods.colIndex("VintageID")) = grdPeriods.BuildComboList(adoRset, "VintageCode", "VintageID")<br />
End If
Thanks
Angela
|
|
|
|