|
hum, you don't really explain what you need that clear, but i think you can try this :
SqlUpdateCommand = <font color=gray>"UPDATE myTable"</font> & _
<font color=gray>"SET myFlagColumn 1"</font> & _
<font color=gray>"WHERE (condition)"</font>
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
Im using visual basic webbrowser control and I would like to know of a way I can hard code a session cookie in every request the browser makes.
First off I would need to stop the browser from handling cookies or at least outbound cookies.
I think there is a flag with wininet that will stop browser sending cookies as it normaly would.
I guess I need to include cookie in header and I am not sure how to do this.
http://www.hashemian.com/tools/browser-simulator.htm this tool does what i need my app to do but it only works for typed urls and does not work with links clicked after.
also using the program proxomitron I am able to replace out going cookies to my session cookie and it works just fine. I would like to be able to do that in my visual basic app.
any help is greatly appretiated.
|
|
|
|
|
Could you tell me how to load/display a pre-created form? For example, I have two forms, MainForm and secondForm, If I want to load the secondForm in MainForm, how to write the code?
Thanks for your kind help.
|
|
|
|
|
Dim SecondForm1 as New SecondForm
SecondForm.Show
|
|
|
|
|
Try to read this article.[^]
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
in head of code-page declare SecondForm as new SecondForm
then in Form1_Load write this code...
SecondForm.ShowDialog()
the user should do something otherwise he/she cant see Form1.
I hope this gonna help you.
|
|
|
|
|
I want to know how i can access a SQL server stored procedure and diplay the data on webform using datagrid conrol placed inside a placeholder on the webform.
|
|
|
|
|
I want to do freehand drawing on a image and save it with the changes made....please help me to that in VB.net
Godwin
|
|
|
|
|
|
hi, how to make a confirmation messagebox that appear on the windows application project and in the web project, i need the two projects help
Thanks alot
Hamody
|
|
|
|
|
for windows app use this
Dim Message As String = "Your Message Goes Here"<br />
Dim Caption As String = "Your Message Box Caption Goes Here"<br />
Dim Buttons As Integer = MessageBoxButtons.YesNo<br />
Dim Result As DialogResult<br />
'Displays a MessageBox using a Question Icon<br />
Result = MessageBox.Show(Me, Message, Caption, MessageBoxButtons.YesNo, MessageBoxIcon.Question)<br />
'If the user clicks Yes<br />
If Result = DialogResult.Yes Then<br />
'perform your actions here<br />
else<br />
'If the user clicks No<br />
If Result = DialogResult.No Then<br />
'perform your actions here<br />
End If
|
|
|
|
|
for web you have to use javascript or vbscript
in javascript you have
if (confirm("Are you sure you want to ..... ?"))
{
// do some thing here....
}
and in Desktop
if (msgbox("Are you sure you want to .... ?",MsgBoxStyle.YesNo,me.Text)=MsgBoxResult.Yes then
' do some thing here
end if
|
|
|
|
|
hi there,wonderful guys.
i think i have to commend everyone in this judicious forum for doing a nice and pleasing job.
hello,is there any body in this forum who could assist me to use vb/vb.net in writing program on clock which will be functioning exactly the way clock work.
pls i need respond to this question on time for the completion of a project i have at hand now,
you can as well email me for my better understanding.
thanks.
prince_kolly@yahoo.com
|
|
|
|
|
|
Hello all, I'm currently on a project that requires me to display some equations with greek symbols, mathematical symbols (eg alpha, beta, square root sign, subscripts and superscripts) in a help file using VB6. I'll appreciate it if someone could give me a clue how to go about it.
Thanks.
timdasa
|
|
|
|
|
Hi,
I'm a newbie in this but I what to make a VB.NET application that adds a jpg picture to row in a SQL Server 2000 database.
Thanks in advance.
Dino Sousa
|
|
|
|
|
|
I'm doing a vb application, and there is one problem I have and I don't know how to do it from VB. One sheet 8.5"x11", 6 Labels 3.333"x4" each Label, this is the Label sheet standar. I have to create a form to print this Labels in correct position. I don't have any idea to do this in VB form. should I have a datagrid and bind the mail address data to it, or a textbox or other controls, any ideas?
Lisa
|
|
|
|
|
Try using Crystal Reports, this will help you in getting the right position..I\m afraid you have to do it in a manual way till you get the right x,y
but it's i'll be really easy once you have an out line for the labels,,you just have to position the report against the real labels to check
|
|
|
|
|
I have tried using Crystal Reports, And I have problem with it.
First, I have 6 parameters for the 6 labels entityID, the query like this: Select name, address From company -- In the select expert Company.entityid is one of ?ID1, ?ID2, ?ID3, ?ID4, ?ID5, ?ID6..when I input values, nothing shows in preview. I don't know how to correct bind to the 6 labels when the parameters have input. and how can I put the right label, the first two labels already used, so I want to choose the third label to print, how can I do that in the Crystal Reports?
Lisa
|
|
|
|
|
Lisa, I'm not sure if i got you right...but here it is
First you have to create a parameter field
To create a parameter field
Check to make sure your report is open in the Design tab.
On the View menu, click Field Explorer.
The Field Explorer dialog box appears.
Select Parameter Fields and click New.
The Create Parameter Field dialog box appears.
Enter a name for the parameter in the Name field
Lets say (ID)
Enter the desired prompting text in the Prompting text field
Select the appropriate Value type from the list.
Since you have 6 IDs , check (Allow multiple values) then Click Set default values.
The Set Default Values dialog box appears.
Make sure the Browse table is set to Company.
From the Browse field drop-down list, select entityid.
Start moving your Defaults IDs
This will enables you to choose from any of the IDs.
Click OK.
The Create Parameter Field dialog box appears.
Click OK.
The Field Explorer dialog box appears with the ID parameter selected.
Drag and drop the ID parameter into your report.
Note: If you don't want to see the parameter field you dropped in your report, place it in a section you can suppress, such as a report header or footer.
To incorporate the parameter into the selection
On the Report menu, click Select Expert.
The Choose Field dialog box appears.
Select entityid from the Company table, then click OK.
The Select Expert appears.
Choose is equal to from the drop-down list.
Choose the parameter from the adjacent drop-down list.
{?ID}.
Click OK.
Click the Preview tab.
The Enter Parameter Values dialog box appears.
Select the ID to base the report on.
Click OK.
The Change in Record Selection Formula dialog box appears.
Click Refresh Data.
-------
So now everytime you refresh your report you get a prompt to choose your ID..and based on that the relative data will appear based on your selection query
just design your report as if you're drawing the labels and place the info in each lable area...
hope that will help
|
|
|
|
|
Thanks, Ranoush..
I follow your steps, and it shows the correct result in each page, if I input 6 values, they show in 6 different pages. But I want them in one pages, how can I do it? I created 6 formula field call @label1, @label2, @label3, @label4, @label5, @label6, and put it to a 6 diferrent location in a page. I don't know how to do it.
and one more thing is if there is @label1 and @label2 are already used, I want to print the new labeb in position @label3, is there anyway I can do it in Crystal Reports?
and the ID Parameter is passing from VB.
Thanks!
Lisa
|
|
|
|
|
hello, Ranoush,
I tired to use the mail label templet, it works for the 6 labels in a page..
the only problem I have that it's the position. for example, you already used the first label in your label template, then next time when you want to print another labels, you want it to start from the second label position. how schould I do this in Crystal Reports.
Thanks all your help!
Lisa
|
|
|
|
|
Lisa, when you've chosen the Label Template, these options were showing:
Printing Direction
The Printing Direction section enables you to specify the path that the program follows when printing the data on your labels.
Across then Down
Prints data left to right across the first row of labels, then across the second row, and so on.
Down then Across
Prints data down the first column of labels, then down the second column, and so on.
you can change your printing direction or you can play with margins
you want to print fewer labels across than the number calculated (fewer columns), increase the size of the right margin, left margin, or horizontal gap until the calculation changes to the number across that you want.
|
|
|
|
|
Can I show a report crystal in Report 8.5
|
|
|
|