Export .dat To Xml Or Readable File With Help Of .fmt
Feb 15, 2011
I downloaded a database from url... it was a zip archive. Anyway my question is, there are two files: virussignatures.dat and virussignatures.fmt. I've heard that I should extract the database as SQL by using BCP. The contents of virussignatures.fmt is: [code] I want to turn the virus signatures.dat to an XML or an understandable TXT.
View 1 Replies
ADVERTISEMENT
Sep 3, 2010
Is it possible to use the streamWriter to read a .txt file thats in a web address online?
View 1 Replies
Feb 23, 2010
I am trying to pass to a "SendEmail" class that I created an attachment from a stream.Here is my stream from the form:
Private Sub button_Email_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button_Email.Click
Dim myimagestream As MemoryStream = New MemoryStream()
myimage.Save(myimagestream, Drawing.Imaging.ImageFormat.Jpeg)
Dim se As New SendEmail
[Code] .....
All seems to go fine until I get the email and try to open the attachment. The file is not readable but it's not a zero byte file.
View 2 Replies
Aug 25, 2009
I have been able to export data from a query to the xlsx file..howerver those fields which are currency in my sql server 2005 table are currency are showing up in the spreadsheet as text. The column mappings are correct when I look at it in connection manager.
Also Is there also a way to create a new worksheet each time the export is run or does the file have to be already named?
View 2 Replies
May 29, 2009
I am a sys admin for a company and our programmer left several months ago. a program they wrote is now failing and i am struggling to work out why. the program basically pulls data from a csv file into a readable form, written in visual basic. the application works on a couple of machines but not on a couple of others. i have matched up .Net framework versions, MS Primary Interop Assembly versions, still no joy. As the app works on some pc's i am wondering what other differences could cause this?
The error output is:
see the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.
Exception Text
CODE:
JIT Debugging
To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled.
For example:
CODE:
When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.
View 8 Replies
Jan 26, 2010
I am developing an application using VS 2008/MySql and I am trying to export the crystal report on runtime using my own code. I get an error saying:
Quote:Invalid export DLL or export format.
My code is:[CODE].....
View 8 Replies
Feb 26, 2009
Is there any way to take an xml string in .net and make it easyer to read? what i mean is can i convert this:
[Code]...
is there any built in class for this? as sql server 2005 seems to remove all formatting on xml to save space or some thing...
View 4 Replies
Feb 7, 2010
Variable readable from all forms?
View 14 Replies
Jul 8, 2010
I like to compress the xmldata before the data is provided to the client as an excel file. I am trying to compress and deliver it as a .zip file. its not working Here's my code below. I tried compressing it, converting it to bytes etc etc. The issue with below code is, the XSL transformation is not happening properly and the output excel file is raw xml with some .net exception at the end. (that's what I see on the .xls file that's downloaded at the end) Before I started working on compression my below code was working fine that gives properly formatted excel file from the xml input. the excel file is so nice you can't even tell it was from XML.
[Code]...
View 1 Replies
Aug 9, 2010
I have ASN.1 format files. I have to convert into CSV(comma separated) format also readable one. Tell me the shortest way... Like Decoders etc.
View 1 Replies
Jul 25, 2009
Is There Any Possible Way To Convert Bytes To Readable text?
View 6 Replies
Oct 6, 2010
I am having trouble converting the Bytes() to a readable text.
I will be receiving packets from a UDP Connection, but due to lack of connectivity issues, they have provided me a .mem file that i am assuming is the whole stream of the packet.
So for now, i am trying to read the file and i get a collection of bytes(). but i cannot convert it to readable text.
View 39 Replies
Jan 2, 2010
i have been working on VS 2008 for past 6 months and right now i am working on some little project which requires the value in reg_binary in XP to be decoded to readable string of the original form
View 2 Replies
Sep 7, 2010
i came up to create my own because i need to encrypt 10character string and i want it to output also 10character string..security is not my concerned here..what i want is encrypted string is not readable by the user or is not obvious to user.. is this possible by the use of Xor method?..BTW,its better if the output is alphanumeric.
View 3 Replies
Oct 28, 2010
How do I turn this:
20101028094024.500000+060
into a readable date and time.
View 4 Replies
Jul 3, 2011
I have a Socket application that, when data is received (on the Server side) and the client is recognized, the data is passed onto its own socket and stream, and the previous socket and stream is discarded.
The data is serialized with a binary formatter before sending and deserialized on receiving the data.
[Code]...
View 8 Replies
May 22, 2009
A user exported a excel file and he opened it.Some reason, he tried to export same exel file as same name.Then, the application is gone because it does not know what do with it.How do I check the excel file is opned or not when I try to export as same file name again?
View 2 Replies
Mar 17, 2009
I have a variable (double) that is constantly update in real time with data from an analog input. I would like to write this data as it comes in to a txt file. When I stop my acquisition of data from my analog input, I should have a txt file with all that data stored on my computer wherever I want it. The way I'd like that txt file to be laid out is like so:
Test Title: "This info comes from a string variable"
Operator Name: "This info comes from another string variable"
Test Date: "This info comes from yet another string variable"
[code].....
And so forth. As you can see I would also like to write the time for each data. This depends on my Timer interval which the user can set. The default is 50ms. So by default, y1 y2 y3 would be 0, 50, 100. How would I generate such a text file?
PS: I have five variables (X, Y, strTitle, strName, strDate)
View 1 Replies
Jul 28, 2010
In developing a flash-based memory manager, I need to be able to view large quantities of data. With my eyes and monitor resolution, I can read hand-drawn 3x5 letters on a 4x6 matrix without too much difficulty, but none of the system TrueType fonts render optimally at that size. I've tried writing code to draw font shapes to off-screen bitmaps, and then use DrawImage to copy those bitmaps to the screen, but I can't get good performance. This is for development, not production, so performance doesn't have to be absolutely optimal, but I don't want to spend too long waiting for screens of data to refresh.
What would be the best way of either making .net display a font which is pixel-perfect what I want, or else building a bitmap out of lots of little pieces quickly? I'm using vb.net, so I can't simply generate a bitmap as a byte array and pass that to the Bitmap constructor unless someone can show me how to convert an array into an IntPtr.
View 5 Replies
Jan 18, 2012
I have a table with a column/field (type : nvarchar) that stores text. The text is read from a text file and written to the database using vb.net application.The text in the text file contains Turkish characters such as the u with 2 dots on top(in the future it will be in different languages )When I open the table, the text in the column is not readable.It converts the Turkish special character to some unreadable characters. Is there anyway to make the text readable in the table?
View 4 Replies
Apr 27, 2009
Is there anyway to store a string in the code of an application and not let it be readable by reflection? For example if I have:
Dim ServerAddress as String = "10.10.10.10"
Is there any way to make ServerAddress' content not readable.
View 3 Replies
Mar 3, 2012
I was wondering which is the function / namespace I need to use in VS 2010 (using VB) to make a folder completely unaccesible (not even readable).
View 1 Replies
Mar 10, 2011
I've added an attribute for a user readable display name to my Enum values.However my code to convert from the user readable display name back to the Enum (function ToEnum) seems very convoluted.I am wondering if I am missing a better way of doing this (I am using Visual Studio 2010 with SP1.) [code]
View 10 Replies
Feb 26, 2009
How can I convert a (unix) timestamp (which I get from a web service as integer) to a human readable date?
View 3 Replies
Apr 14, 2010
Greetings, I'm looking for a way to encode a string into HTML that uses human-readable tags such as ê (=ê). At the moment, I am using the HttpUtility.HtmlEncode() function, but it appears to return numbered tags instead of human-readable ones. For example:
Dim str as string = HttpUtility;HtmlEncode("vente - en-tête")
'Expected: vente - en-tête
'Actually received: vente - en-tête
Is there a setting or function in ASP.Net to encode a string into HTML resembling the first comment?
EDIT: I am looking for this kind of functionality because the text is saved HTML-encoded in the database. The text comes from a bunch of MS Word documents that have been converted to HTML.
View 1 Replies
Feb 25, 2009
This probably has an easy answer, but I haven't been able to find one yet. I was wondering if there was a simple solution to exporting the page-level trace results of trace.axd to a log file of some sort.
View 2 Replies
Apr 19, 2011
how can i write <p> <br/> hello this is my creation </p> in xml file while i am creating it by the use of asp.net .
it is showing <P> text </P>
View 3 Replies
Nov 25, 2009
I must build an application that exports a simple TXT file to PDF. Actually, it will have to export DOCs, RTFs and ODFs, but for now, only txt will do.Can you guys recommend some code or article so that I can get started on the task?
View 2 Replies
Dec 10, 2010
I'm trying to export a DataGridView to a CSV file. The method I'm using works fine if all cells have a value in them. However, not all cells will have a value. This is the error I'm getting:
[Code]...
View 6 Replies
Aug 25, 2010
I want to create a web application,specifically an e-shop and I want to be able to export a xml file from a dataset with products.
Is this feasible with visual studio and vb.NET? If so
View 3 Replies