|
Application.StartupPath will give you the current location of your Exe
good luck
|
|
|
|
|
Hello Friends,
I want to know How to freeze a particular column in flexgrid .
Eg.
I want to freeze a first column while horizontal scrollbar is used.
how to freeze it.
Give a example
pls Urgent
Thanks
Kankeyan J
|
|
|
|
|
Please read forum guidelines before posting a question.
Here is the link for same Forum Guidelines.
If you google this question you can find the answer.
|
|
|
|
|
hi frnds..
i used to draw the menu's using the draw item & measured item events.. & its nice..but the pblm is how can i give shortcut for that menu items...
|
|
|
|
|
if the menu is of the type toolstripmenuitem you can do it like this:
Dim mnuzoeken As New ToolStripMenuItem("zoeken")
mnuzoeken.ShortcutKeys = CType((System.Windows.Forms.Keys.Control Or System.Windows.Forms.Keys.F), System.Windows.Forms.Keys)
|
|
|
|
|
were i can find the toolstripmenuitem class
|
|
|
|
|
Public Class ToolStripMenuItem
Inherits System.Windows.Forms.ToolStripDropDownItem
Member of: System.Windows.Forms
|
|
|
|
|
Hi,
Whatever way you paint a menu item, you can assign a shortcut to it using the Shortcut
property.
If the menu item is OwnerDraw, and ShowShortcut is true, you may want to
visualize the shortcut.
You would have to do that yourself, in whatever way you consider appropriate.
The Shortcut.ToString() method may help you here.
Luc Pattyn [Forum Guidelines] [My Articles]
this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/AllLanguages/General
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google
|
|
|
|
|
Hi,
I'm using Visual Basic 2005 Express windows application with SQL Server 2005 Express. The first form contains a Datagrid where the user can enter data, and when the Save Menu is clicked, these data should go into two tables at a time. How do I go about it? What is the best option? Should I use a Stored Procedure?
Thanks
|
|
|
|
|
It's impossible based on the loose info you have given, to give an answer remotely as helpful as the many you' find if you googled the question. What do you mean by 'two tables at a time' ?
Yes, it's always best to use a stored proc.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Use triggers. it will seperate the incoming data into two insert that into to two diffrent tables.
if we pass the second tables dataes as value for this triggers as input..
create trigger Trigger1 on trigtable1 for insert
as
declare @st1 varchar(10)
declare @st2 int
select @st1=(select trigtable1.F1Name from inserted)
select @st2=(select trigtable1.F2Name from inserted)
insert into trigtable2 values(@st1,@st2)
where Trigger1 <-- Trigger Name
trigtable1,trigtable2 <-- Table Name
str1 & str2 as variable for that triggers
Senthil S
|
|
|
|
|
This assumes he's talking about writing the same data to two different tables. Not very efficient if you ask me.
He could be talking about writing a single record where some of the data in the record goes in one table and other parts goes into another table.
|
|
|
|
|
hi,
i tried the following code:
objGroup = GetObject("LDAP://..........,dc=...,dc=...")
objGroup.PutEx(ADS_PROPERTY_CLEAR, "member", 0)
objGroup.SetInfo()
then i tried to add the same members to the same group --> i got an exeception:
The object already exists. (Exception from HRESULT: 0x80071392)
is there a local cache of the group ??
how can i remove all group members in a better way ?
thx in advance
|
|
|
|
|
depending on what you want look at the
dispose
clone
remove
removeall
removeat
methodes
|
|
|
|
|
This may not apply to your environment if you're using a single domain controller, but you may also have to wait for the updates to the group object to replicate around to all the domain controllers before they are actually removed from the group. This would cause the error you're getting.
This is because multple domain controllers can have the group object in different states at the same time. Just because one request, the deletes, went to one domain controller, subsequent requests are NOT NECESSARILY going to the same domain controller. One has the group with the members dropped, the other doesn't. You'll have to wait for the changes to be propagated to all copies of the group object before you can write the same members back.
|
|
|
|
|
Hi all,
The program i've seen have and error saying stimulsoft.controls.stitextbox not declared.
I don't know anything about stimulsoft controls, how does this work? anyone?
Thanks in advance.
|
|
|
|
|
That's not part of visual studio, you must have an error with an outside library that's in your project.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
You probably are missing the assembly either in GAC or as a private assembly in your application/bin folder.
|
|
|
|
|
Thanks for the help guys.
|
|
|
|
|
Hi,
I need to check whether a page has been completely loaded before displaying it to the user. Now there are multiple problems I am encountering regarding this. One is that most websites have frames, and the control fires a document completed event for all these frames individually. Even if I use the e.url property to check whether the correct url has been loaded, there is still a problem with urls that cause a redirection (e.g. if you go to www.wikipedia.com it will redirect you to www.wikipedia.org and hence the url will have changed). I cant think of any way to do this, except for the microsoft article on this http://support.microsoft.com/kb/180366 . The only problem is that the documentcompleted event in vb.net 2005 doesnt have this signature (and hence no pDisp parameter) and doesnt even have a documentBegin event. Any ideas on how I can do this? Thank alot!
Ahmad
|
|
|
|
|
Simply check WebBrowser's ReadyState Property
Good Luck
|
|
|
|
|
I want to develop a aplliction which will read incoming call's number and it will stoar to MsAccess Database. Please Guid me.
Kiran Sajanikar
Software Engineer
CleverBIT softwares.
Pune.
|
|
|
|
|
Kiran S. S. wrote: I want to develop a aplliction which will read incoming call's number and it will stoar to MsAccess Database. Please Guid me.
That's too vague. Guide you in what, exactly. What type of application, a winforms application, a console application, a web application, a mobile application, or some other type of application? What is your data model? Do you have a data model?
Upcoming events:
* Glasgow: Mock Objects, SQL Server CLR Integration, Reporting Services, db4o, Dependency Injection with Spring ...
"I wouldn't say boo to a goose. I'm not a coward, I just realise that it would be largely pointless."
My website
|
|
|
|
|
dont be stupid man! he said "read incoming call numbers". it is a mobile application STUPID!
|
|
|
|
|
SamerAZ wrote: dont be stupid man! he said "read incoming call numbers". it is a mobile application STUPID!
Not necessarily. It could be a call centre application running off someone's desktop. It could be a service running on a VOIP server or any number of other things.
It would, however, have been stupid of me to assume that only mobile devices can deal with incomming calls.
Upcoming events:
* Glasgow: Mock Objects, SQL Server CLR Integration, Reporting Services, db4o, Dependency Injection with Spring ...
"I wouldn't say boo to a goose. I'm not a coward, I just realise that it would be largely pointless."
My website
|
|
|
|