|
How did you change the cursor? Have you used Cursor.Current = ... ?
|
|
|
|
|
I used the following.
Me.cursor = system.windows.forms.curosrs.help
What happens when i use this is cursor changes to a help cursor. But when this cursor hovers over components which does not support help, it changes back to default cursor. For a toolstripmenu item there is no property available in .Net 2.0 version to enable help for that component. Hence when i move the cursor over it, the cursor changes back to default cursor.
Pls help.
Thanks,
Sugan
Chennai
|
|
|
|
|
Try setting Cursor.Current = Cursors.Help instead. It changes the cursor for the whole application.
|
|
|
|
|
In fact
Cursor.Current = Cursors.Help
does not work at all.
Only Cursor = cursors.help works.
Even then, when i move the cursor to a menu item in the form, the cursor changes back to the default cursor. When i move out of the menu item, cursor changes to help cursor.
Thanks,
Sugan
Chennai
|
|
|
|
|
Is there no one who has a resolution for this issue.
I'm not getting any resply for this issue in most of the forums. Is it such a big deal to solve this???
Sugan
Chennai
|
|
|
|
|
does anybody out there now how to use the volume shadow copy service for vb.net.
i need to invoke it and then copy certain files then stop the service in win xp . please help if anybody can
|
|
|
|
|
Hi All,
Can anybody tell me what the meaning of this code snippet is?
<system.diagnostics.debuggerstepthrough()> Private Sub InitializeComponent()
In the above what this ‘<’ and ‘>’ indicates.
Thanks in advance.
Regards,
Krishnaraj
|
|
|
|
|
Hi All,
Can anybody tell me what the meaning of this code snippet is?
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
In the above what this ‘<’ and ‘>’ indicates.
Thanks in advance.
|
|
|
|
|
they specify the opening and closing declaration for an Attribute (in this case DebuggerStepThroughAttribute) which adornes the method.
Current blacklist
svmilky - Extremely rude | FeRtoll - Rude personal emails | ironstrike1 - Rude & Obnoxious behaviour
|
|
|
|
|
It's a metatag. there are certian tags taht handle specifics about how a class compiles and integrates into the VS Environment. for instance
<catagory()>
before a public property causes the propety to show up in the forms designer properties window. that is evidence that VS is prebuilding certian parts of an object to facilitate its WYSIWYG interfaces (like to provide intellisense on new components, custo user controls etc.) the metadata tells the environment which parts to pre-compile in this case.
Web service methods use a similar tag to indicate that teh code gen should create an XML interface and description of the method so it can be enumerated to clients and called via soap.
Think of it as Code defining Code. that is what meta means in any sense. metadata is data about or describing data. gives me a headache myself...
hope that satisifies your curiosity,
Frank
hey...slang is the vernacular for the vernacular...wow
|
|
|
|
|
Thank for giving such a good explanation.
Regards,
Krishnaraj
|
|
|
|
|
currency that can calculate with currency.
|
|
|
|
|
WTF? How about writing a proper question that we can answer?
...Steve
1. quod erat demonstrandum
2. "Give a man a fish and you've fed him for a day. Teach him how to fish and you've fed him for life." I read that somewhere once
|
|
|
|
|
Hi all,
In aspx file I have a Data grid. Of which two columns are Template columns. Both of these columns contain Label and Drop down list. On non-edit mode label will display the current information present in the DB. On clicking edit, it will change to Drop down list, giving option to make changes to that particular column value. Now list of items in the second template column drop down list must be populated on the basis of first column drop down box selection.
Eg: first column lists countries then on selecting particular country, second column must display states which belong to the selected country.
Also I have set the drop down list property AutoPostBack = True. So eah time when I change the country it sends it back o the server. But I am not getting any even handlers to handle the even triggered.
Can anybody help me out?
Thank in advance,
Regards,
Krishnaraj
|
|
|
|
|
ASP is not my specialty so I can't address the edit-mode or the postback, but for the events, the short answer is to:
create a custom control that inheirts your first Template collumn.
add a public delegate and event within it. raise the custom event on the first templatecollumns changed event.
public delegate sub delIndexChanged(sender as object, e as system.eventargs)
public event evtIndexChanged as delIndexChanged
Private thing(sender as object, e as system.eventargs) handles me.selectedindexchanged
RaiseEvent me.evtIndexChanged(sender,e)
End sub
in your mainpage (the one with the grid), Replace the template col reference with one to your custom control.
once you instantiate the grid cols, add a handler for the evtIndexChanged that points to a sub with
AddHandler MyGrid.cols(idx).evtIndexChanged , AddressOf <subname>
where <subname> has the appropo parameter list for the delegate signature.
that will fire whenever the first col changes. I would use it to gen a filterstatement for a dataview.
to fire the col directly you can just RaiseEvent Object.Event(parameters...) I think. postbacks will complicate this.
I just read somthing about the asp2.0 callback model, and they claim there are now ways to update stuff on the UI (via server side processing) without posting back on the client. you may want to look into it but as I said web isnt my area of expertise.
Hope That Helps,
FrankyT
hey...slang is the vernacular for the vernacular...wow
|
|
|
|
|
I have not tried the solution u have given. Coz most of the things u mentioned did not go into my mind. It may take some time to understand. But anyway thanks a lot for taking trouble to give me a solution.
Regards,
Krishnaraj
|
|
|
|
|
I have installed Visual Studio 6.0.
While I am opening a VB project, it is displaying only the code behind; not the user interface. While double-clicking the form in the project window, it displays the message-<The instruction at "0x004581f1" referenced memory at "0x00000000".The memory could not be read.>
& as I am clicking ok,the project is closed.
Although, a new project can be created & run properly.
Kindly help...
Padma Gahlot
|
|
|
|
|
Something is seriously wrong with either the project or the installation of VB6.
Are you sure the project was created in VB6?
Also from where did you install VB6 in the first place? Was it an original CD from Microsoft? Try uninstalling and then reinstalling (not a repair).
...Steve
1. quod erat demonstrandum
2. "Give a man a fish and you've fed him for a day. Teach him how to fish and you've fed him for life." I read that somewhere once
|
|
|
|
|
I have 1 application and I want to count it one time a day by using Proces Control, If user have run it for 30days the application not possible to use and Process Control is maximame
Please anyone know give a code
................
|
|
|
|
|
An easy way would be to write an installation date to the registry (or a hidden file somewhere on the hard drive) and then do a datediff function. If it returns < 30 then run regular code, if not, go to a form that shows how they can register. If you're going to do this tho, you should do some type of encryption of the date so your general user isn't changing the date every 30 days.
|
|
|
|
|
Can u give one example?
................
|
|
|
|
|
He just did.
...Steve
1. quod erat demonstrandum
2. "Give a man a fish and you've fed him for a day. Teach him how to fish and you've fed him for life." I read that somewhere once
|
|
|
|
|
It should be from blue to red gradient color...
the backcolors of these rows return green gradient...
please help me revise the code...
thanks...
Protected Sub GridView1_DataBound(ByVal sender As Object, ByVal e As System.EventArgs) Handles GridView1.DataBound
Dim red As Integer = &HFF0000
Dim blue As Integer = &HFF
Dim green As Integer = &HFF00
Dim noRows As Integer
Dim incDiff As Integer
Dim currentColor As Integer
noRows = GridView1.Rows.Count
incDiff = (red / green) / noRows
currentColor = green
For x As Integer = 0 To noRows - 1
GridView1.Rows(x).BackColor = Color.FromArgb(currentColor)
currentColor += incDiff
Next
End Sub
|
|
|
|
|
im' not really that good with VB.net but i dont see anything mentioning the color blue in that code. Maybe someone else knows what it is, but im not sure if that's it.
-Think not of the problem But of the solution!
-Mind what people do, not what they say, for deeds will betray an lie.
-The only sovereign you can allow to rule you is reason.
-Contradictions don't exist, in whole or in part.
|
|
|
|
|
Why are you asking the same question again? Follow up in the thread that is already active instead.
---
b { font-weight: normal; }
|
|
|
|