|
What you are looking for is dataset and datatable (as stated by others) these have a WriteXML and ReadXML methods. This will allow you to persist your data across sessions. The only real issues is you have to manually construct the dataset/table before you can use it. You may want to look at this article[^], it uses this method.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
To connect to a Database their are several ways and most commonly used are the datasets or to create your Objects , i always prefers creating objects but have seen most of the ppl using datasets , which one is better Objects or Datasets , regarding application performance point of view
Best Of Regards,
SOFTDEV
If you have knowledge, let others light their candles at it
|
|
|
|
|
S0FTDEV wrote: which one is better Objects or Datasets , regarding application performance point of view
No one can really answer that for you as the answer would vary depending the data you are using.
The only way to be sure is to do a test application using both methods and time them.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Hello Everybody,
I have created application which is working successfully. This application is developed in vb.net 2005 and outlook 2007 is using for mail sending purpose.
I m sending mail at particular email id with ReadReceiptRequested=Ture property. I also got ReadReceiptRequested mail from particular Email ID.
My problem is that how i know that this ReadReceiptRequested mail which is comes from particular email id with my mail which i send before.
I want to compare and check my send mail and ReadReceiptRequested mail and want to store information into database. Is any unique fields(key) in both mail sothat i can conform this ReadReceiptRequested mail is reply of particular send mail?
For sending mail through outlook my code is below:
Dim Forward_newMail As Outlook.MailItem = Application.CreateItem(OlItemType.olMailItem)
Try
Forward_newMail.To = Agent_Receiver_Email_ID
Forward_newMail.Subject = newMail.Subject
Forward_newMail.Body = newMail.Body
Forward_newMail.ReadReceiptRequested = True
Forward_newMail.Send()
Catch ex As System.Exception
End Try
Thanks in advance
Regards
Dharmchand Dhingra
|
|
|
|
|
AFAIK, there is no link between the mail sent and the "read receipt" email that might come back. I for one have turned off that functionality in my email prog. The only link that I can see that may be good is matching up the subject lines.
|
|
|
|
|
Thanks for reply.
Yes, it is possible to match with subject but if duplicate subject name are in outlook then it is going to fail. i solved it (using temporary logic) with send a unique no. with subject when i send mail to user. when user receipt this mail then this unique comes along with read receipt mail.
if you find another solution then plz reply me.
Regards
Dharmchand Dhingra
|
|
|
|
|
dcdhingra wrote: if you find another solution then plz reply me.
Why would I even be lookging for another solution? I'm not getting paid to do your work.
|
|
|
|
|
i have built my own socket program which runs through Tcp/ip and every things work fine. However, i don't really know how can i download random files from my server by using windows directory. let me make this clear imagine that you have a client connecting to the server that is exist on your mum's computer and you really want to download the file from your mum's computer documents but you don't really know where is it exactly on the documents. It might be on the picture folder or may be it's on the music folder. Therefore, I'm trying to run my directory and search for it like I'm working on my mum's computer.
Please i would appreciate it if anyone help me to figure this out even if he/she gives me a link to a book or open source code even if it's on c# that's fine.
thank you
|
|
|
|
|
I already answered this in the C# forum. Please select the correct forum and stick to it. Do not multipost your questions, and read the guidelines[^].
|
|
|
|
|
Hello,
I have a main report and a subreport, since I want to have total from subreport displayed in the main report, I create a shared currency variable. The problem is if the datasource return empty data. I used arraylist for the datasource, because the arraylist length is zero, the datasource is also become empty. When I tried to print, the report was showing error: a number of field or currency amount field is required here.
My formula is like this:
Shared currencyVar saledetail_sumtotal := Sum({PoS_DataSource_clsRptSaleDetail.saledetail_total})
I tried to use If IsNull but the result is just the same
Can somebody help me?
- No Signature Available -
|
|
|
|
|
could you tell me how we get .mdb files data in a list box? could you give simple source code it would good..
|
|
|
|
|
It's an Access database. You use a connection string and ADO.NET to connect to it, and you then use SQL to request your data.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
yeah, we all know that. But how about a "simple source code"?
Luc Pattyn
I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages
Local announcement (Antwerp region): Lange Wapper? Neen!
|
|
|
|
|
Yeah, the reason I don't get so many 5s nowadays is that I try to provide the keywords a programmer would need to find the info, rather than doing people's work for them. Of course, in this case, providing something he could copy and paste is obviously not possible, but that's actually often true nowadays.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
4!
Luc Pattyn
I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages
Local announcement (Antwerp region): Lange Wapper? Neen!
|
|
|
|
|
ROTFL !!! And I note the OP is nowhere to be seen.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Luc Pattyn wrote: simple source code
The OP is obviously an advanced programmer (having determined that a keyboard has a full alphabet on it) most just use snd codz plz
|
|
|
|
|
However, despite his efforts, he isn't getting any code so far.
Where are the real experts when we need them?
Luc Pattyn
I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages
Local announcement (Antwerp region): Lange Wapper? Neen!
|
|
|
|
|
Sleeping?
Trying to work out the simple source code of the question?
OT: Damn your up early
|
|
|
|
|
Luc Pattyn
I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages
Local announcement (Antwerp region): Lange Wapper? Neen!
|
|
|
|
|
Hi everyone, i´ve been looking deeply on the web but i just can do it.. i want to send emails with MAPISession1 in Visual Basic 6.0 but with diferent account from the active one that i have in my session in windows.
I belong to a generic account in a network and i can send mails directly in outlook with that account(just if i change the from field), but i cant figure how to send emails within code specifing the generic account, i tried to change the parameter MAPISession1.Username = "GenericAccount" but the mail is still taking the MAPISession1.SessionID that i think is taking from my outlook session, because everytime that i debug it, it take some weird diferent number each time.
Is there a way to specify the sender either in outlook or the vb coding?
Thank you guys..
frmMain.MAPIMessages1.MsgNoteText = "message"
frmMain.MAPIMessages1.SessionID = frmMain.MAPISession1.SessionID
frmMain.MAPISession1.UserName = "CHI APLUX"
frmMain.MAPIMessages1.Send
|
|
|
|
|
How could i access the objects(tables,views) in SQL Server Secondary datafile(.ndf).
pls help
|
|
|
|
|
As far as I know, you don't. Those are secondary data files and, combined with the master, make up the database. You do not manipulate the data in the files through anything other than the interfaces provided by the database. There is no supported method that I know of for getting at the data in the secondary files without going through the database.
This question belongs in the General Database forum, not VB.NET.
|
|
|
|
|
Hello Experts,
I am using Printdialog it's working fine but in VISTA X64 bit. Printdialog box is not showing?
Please help for this issue.
Thanks
If you can think then I Can.
|
|
|
|
|
Is there an exception or some sort of information other then 'my code is not working as expected?'
|
|
|
|