Search:
Type: Posts; User: Ken B
Search:
Search took 0.04 seconds.
-
http://www.vbpdf.com/files/cSharpPDF.zip
I only recreated the "Hello World" example in c# from the vbPDF code. This will give you an example of the process for creating a report. I will start to...
-
I converted to c# for a project I'm working on. If you want, I will put the code up tomorrow. There are no examples or documentation for c#, but you should be able to figure it out if you understand...
-
You can create pdf files using just vb or c#. Check out http://www.vbpdf.com/ for vb2005 code.
-
This will read a image into a file, with some format information before it. The image itself will be inside of the <image></image> tags. I have no idea if any of these tags are valid xml tags.
...
-
???
What size are you talking about? File size or image width and Height?
File size of an image:
Dim fs As FileStream = New FileStream(ImageFileName, FileMode.Open)
ReDim...
-
To you need to write the image size? You should be able to determine it by subtracting the starting position of </MainInterface> from the ending position of <MainInterface>
Reading it in, I'm not...
-
Hey, it was 6:55am, I was still working on my first cup of Coffee.
You will of course need to write it.
This should work. I took this code from different parts of a pdf creator I wrote last...
-
This code should insert an image into a file.
Dim retByte() As Byte
If Not File.Exists(ImageFileName) Then Return False
Try
Dim fs As FileStream = New...
-
What's "text\r\n", if its TextDataFormat, you got the order wrong. Try:
Clipboard.SetText(TextDataFormat.Text, "text\r\n");
-
I think this is a better check.
if (dgvResults.Rows[e.RowIndex].Cells[e.ColumnIndex].Value is DBNull)
-
Here's one way. There may be a better one:
if (dgvResults.Rows[intCurrentRow].Cells[intCurrentCol].Value.ToString().Trim() == string.Empty)
MessageBox.Show("Cell is empty");
-
Thanks.
I will use an if statement.
-
Is there a way to make a control active based on its tabIndex without using an if or switch statement?
-
This will get the last line of a text box. lineCount - 1 controls what line of the textbox is returned.
[System.Runtime.InteropServices.DllImport("user32.dll", EntryPoint =...
-
Instead of modifying the security file, I added a .htaccess file that redirect the error to a page that explains the problem. What I would like to do is display the original string that trigger the...
-
Make sense. If I just pass "selectmen from" I get the same forbidden error.
Thanks.
-
I do have access to the log. You were right, the server thinks its a SQL injection.
Here's the error:
[Fri Apr 11 08:07:06 2008] [error] [client 68.172.117.26] ModSecurity: [file...
-
I don't have access to the error log.
-
I changed get.php to
<?php
echo $_SERVER['REQUEST_METHOD'] . "<br/>";
echo $_POST['comments'];
?>
I get the same error. If I change the last character in the string to something...
-
I'm getting the following error
Forbidden
You don't have permission to access /archive/code/get.php on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an...
-
Everything here is from Laurentiu Cristofor's blog
http://blogs.msdn.com/lcris/default.aspx
This is a project that I wrote to teach myself how to use SYMMETRIC KEY, there are a few problems...
-
If you are using vb2005 and sql server 2005, I can provide you with a sample project that will show you how to use SYMMETRIC KEY to store a password and display it unencrypted.
-
Are you still having problems with this?
-
If you are using 2005, look at symmetric keys.
Check out Laurentiu Cristofor's blog for examples.
http://blogs.msdn.com/lcris/default.aspx
Here's a good starting point "SQL Server 2005: using...
-
echo vs print.
http://www.faqts.com/knowledge_base/view.phtml/aid/1/fid/40
-
When you search phpinfo(), just search for REQUEST_URI. When I run it, REQUEST_URI is displayed with double qoutes around it.
-
try:
echo $_SERVER['REQUEST_URI'];
-
The above code is for 2005. I have no idea if it will work with 2000.
-
Get the name of the primary key for a table
SELECT constraint_name FROM INFORMATION_SCHEMA.TABLE_CONSTRAINTS WHERE constraint_type = 'primary key' AND table_name = 't_ImageFiles'
Get the...
-
What database are you using?
-
I was having the same problem.
When I renamed the data file from data.txt to data.sql it worked.
Try it.
-
Check out Laurentiu Cristofors security blog for sql Server 2005.
http://blogs.msdn.com/lcris/archive/2005/06/09/427523.aspx
-
What database are you using?
If you are using sql Server 2005, the following will return the columns that makes up a table primary keys.
SELECT column_name FROM...
-
You really don't need to have an id field. If you make the authorBook table primary key both bookid and authorid .
bookid - references book id
authorid - references author id
-
How about converting them to a format you can used?
Try:
Public Function ReCreateImage(ByVal ImageFileName As String, ByVal NewImageFileName As String, ByVal NewResolution As Single) As...
-
Look at the picture PixelFormat. Lookup PixelFormat enumeration in help for a list of image types.
Public Structure ImageInformation
Dim Extension As String
Dim FileExist As...
-
Images are added via the dataGridView CellValueNeeded.
Private Sub dgvResults_CellValueNeeded(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellValueEventArgs) Handles...
-
Public Function DeleteFileOnFTPServer(ByVal FileToDelete As String, ByVal LoginName As String, ByVal Password As String) As Boolean
If FileToDelete.Trim = String.Empty Then
Return False...
-
The first thing you need to do is created the actual database. You will need to read your isp help documentation to learn how to do this. Every isp is different. I use Apollo Hosting, under my old...
-
What kind of application are you programming and what are you going to use?
vb net? c#? php?
As for your database, you will first need to know what tools your isp provides for you to create...
|
Click Here to Expand Forum to Full Width
|