|
Ok, i have re-read your question serveral times now, and I am thinking your are on about client side using webbrowser control?
1) You have an application using the WebBrowser Control?
2) You navigate to a website, but it requires authentication?
3) It normally throws up a popup with the login prompt, whilst the initial page is redirected to the site entry page?
Founf this via google; might go someway to getting round the problem;
redirect-winforms-web-browser-control-pop-ups-to-another-winforms-web-browser-con[^]
|
|
|
|
|
Hello all,
i made a news ticker with VB that reads xml feed from url, i need to know how many users use the ticker to make some statistics, SQL server available if required,
Thanks in advance
|
|
|
|
|
Your web server logs will give your the information, use that for the statistics.
|
|
|
|
|
its a windows application, and the xml file is shared with many other services so the request statistics wont be good
|
|
|
|
|
You could;
1) modify your app to pop in a custom header to the request, and then you could use the log files to track the custom header
2) have your app generates a unique installation id, and send that to a web service that logs the instance.
3) get your users to register
4) Have your app go through an intermediate web service, which then gets the xml and passes it back to your app.
5) dream up some of your own mechanisms for generating unique installations and tracking.
|
|
|
|
|
I wanna get burned date on CDRom....
How to get it by using VB.net?
If u can, Pls tell me....
I'll very thank ..........
|
|
|
|
|
You're assuming that this date is recorded on all disks?? It's not...
|
|
|
|
|
My lecturer wants us to change an ASP.Net Website into C#, now how do i go about doing that?
|
|
|
|
|
|
Its Better you put this Question on ASP.net Form , you will get more answers Best Regards,
SOFTDEV
If you have knowledge, let others light their candles at it
|
|
|
|
|
First, this is the VB.NET forum, not C#.
Second, ASP.NET is a technology that generates web pages, it's not a language. C# is a language.
You'll have to confirm this with your teacher, but I think yo have to convert what you see in the ASP.NET app to a Windows Forms app, using C#.
|
|
|
|
|
Hello,
I would like to ask if how will do I change the recordsource of crystal report in
vb 6.0 .For example I will show only the records that is filtered by my datepicker.
Below here is my datepicker select between query:
Dim sSource As String
sSource = "Select * From studRecords Where DateEnrolled>= #" & DTPicker1.Value & "# and DateEnrolled<= #" & DTPicker2.Value & "# "
Adodc1.RecordSource = sSource
Adodc1.Refresh
If you would mine also can I also ask how will I do this in vb.net .
Comments ,suggestions are kindly appreciated.
Thanks,
dfan23
|
|
|
|
|
Thats the way to do in vb6 , you can also Use Selection Formula in Crystal Report and Pass the Values to report and Enter the Selection Formula in Crystal Report then it will select only those records. but this will be slow as we are giving the whole data to Crystal Report then its Filtering , better is to give the Crystal Report the Filtered data only
In vb.net it depends how you are connecting to the DB , their are so many waysBest Regards,
SOFTDEV
If you have knowledge, let others light their candles at it
|
|
|
|
|
Thanks,
Would you mine if you could give me some sample how to pass the filtered data in Crystal report.
By the way the crystal report version I have is 8.5
In vb.net I have used OLEDB connection to connect in my database and
my database is MS ACCESS 2003.
Thanks you so much in immediate response.
Thanks,
dfan23
|
|
|
|
|
VB6 :
Open Report in Crystal Report ===> go to Reports menu ===>Select Expert ==> click on Show formula button and put your filter their like
{tabke.field} = {@FormulaField}
you can create a formula field from Insert ==? Field Object menu thne create New Formula Field here and then Pass in your VB Application the value to it
For vb.net my question is you are sing Dataset , Objects ?????Best Regards,
SOFTDEV
If you have knowledge, let others light their candles at it
|
|
|
|
|
Thanks,
Can I ask if how do I will add my datepicker.value into the select formula,
I tried adding my sql command but it gives error.
In vb.net yup I use dataset and I also try to code my connections.
Thanks again for Immediate response.
Thanks,
dfan23
|
|
|
|
|
|
Thanks,
I would like to give a big thanks to you sir for immediate response and time for entertaining
my questions. If you would mine I would like to ask if what will I put in Field and here is the code
I am planning to yet
form1.Crystalreport1.Formulas(0) = "filteringDate=DateDate(" & Year(Field) & "," & Month(Field) & "," & Day(Field) & ")"
Thanks you so much sir,
The link you have gave is really nice
A 5 rating really suite on you
Thanks,
dfan23
|
|
|
|
|
thank you so much , if your work is done thats more to me
just remove date from datedate and in (Field) enter name of your date time picker or control name
thats all , if you have more then one fields in crystal reports then formulas(n) counter will increase like
1,2 , 3 , --- ,nBest Regards,
SOFTDEV
If you have knowledge, let others light their candles at it
|
|
|
|
|
Hello again Sir,
Sorry for keep asking this again but I still confuse sir on the use of
formula in crystal report
I have tried these commands but still I have error and it says
"Remaining text does not appear to be a part of the formula"
form3.CrystalReport1.Formula(0)= "Select * From studRecords Where DateEnrolled>= #" & DTPicker1.Value & "# and DateEnrolled<= #" & DTPicker2.Value & "# "
form3.Crystalreport1.Formulas(0) = "filteringDate=Date(" & Year(DTPicker1.Value ) & "," & Month(DTPicker1.Value ) & "," & Day(DTPicker1.Value ) & ")" "
If you would mine sir could you give me a sample formula on how to filter the date using
the date picker I have use as the same I filter in my datagrid
Here are some details:
CrystalReport1 - the name of my crystal report
form3 - where my crystal form is
DTpicker1 - datepicker I use to filter( from this Date)
DTpikcer2 - datepicker I use to filter( to this Date)
filteringDate - the name of my formula
Thanks you so much again for immediate reponse and entertaining my question
Thanks,
dfan23
|
|
|
|
|
Hi,
Currently I'm working on a Smart Device project in VB.NET (in Visual Studio 2008) and I found a project on the net in C# which fits to my needs so I added to my solution as a class library.
So right now I have a solution with a VB project and a C# project (class library).
In the C# I have a part like this:
namespace Something
{
public class SomeList : SomeListControl
{
public event EventHandler SiteReached;
public event EventHandler SiteOpened;
public event EventHandler<ListEventArgs> ListOpened;
...
This namespace is included in my VB project as a Reference.
Public Class MainClass
Private SomeControl As SomeList
Private Sub MenuItem1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem1.Click
'In the C# project the following code was implemented:
'SomeControl.SiteReached += (s, ea) => miBack.Enabled = false;
'SomeControl.SiteOpened += (s, ea) => miBack.Enabled = true;
'SomeControl.ListOpened += new EventHandler<ListEventArgs>(SomeControl_ListOpened);
'What can I do to inherit those Eventhandlers?
...
Thank you in advance for your kind help.
|
|
|
|
|
Do you have a question? Steve Jowett
-------------------------
Real programmers don't comment their code. If it was hard to write, it should be hard to read.
|
|
|
|
|
Yes I do.
Actually the question is in the last code:
What can I do to inherit those Eventhandlers?
|
|
|
|
|
Sorry I missed the question.
The declaration of the SomeControl object should be :-
Private WithEvents SomeControl As SomeList Steve Jowett
-------------------------
Real programmers don't comment their code. If it was hard to write, it should be hard to read.
|
|
|
|
|
I'm sorry I wasn't clear what my question was.
And thank you very much for your quick replies.
I did the fix you suggested but still the error is there: 'SomeControl' is not an event of 'MyProject.Main' for
RaiseEvent SomeControl.SiteReached
Edit:
I also added to the
Private Sub MenuItem1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem1.Click SomeControl.SiteReached
No luck.modified on Tuesday, February 16, 2010 4:50 AM
|
|
|
|