473,503 Members | 1,674 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Need help with a Dynamic Image Generation Service VB 1.1 (similar to 2.0)

I read a great article by Dino Esposito about a control he built to help
generate images dynamically similar to how asp.net 2.0 will do it. His
sample worked in a C# project, but when I tried to write it in VB, it
wouldn't work (and no obvious errors). Its really quite simple (if you know
what u r doing...) and uses only a few lines of code. Attached is the
sample project I've created to model this out.

Here's a link to Dino's article and you can download his code there as a
reference. If this would work, it would be a total awesome and fast way to
deal with dynamic images such as returning thumbnail images after users
submit a photo.

http://msdn.microsoft.com/msdnmag/is...4/CuttingEdge/

Any help you can offer would be great.

Thanks.

--
mo*******@nospam.com
Nov 18 '05 #1
3 1097
Hi Moondaddy,

Since you met problem when trying to convert the C# generated Image
component to VB.NET. I think we can first try to isolate the problem to a
smaller scope. Have you try adding some break points into the code and
runtime debug the code to see what is the root cause of the problem? I
still think generally the component is surely able to generated by both C#
or VB.NET. Please have a check , if you have any new findings, please feel
free to post here .Thanks.
Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

Nov 18 '05 #2
I did use break points, but there were no errors. Anyway, I found the
problem. See the above post from me. By the way, it looks like my
attachments aren't going through so if anyone wants me to email them a
working sample of this, please let me know. However, I recommend at least
reading Dino's article and getting his code too.

http://msdn.microsoft.com/msdnmag/is...4/CuttingEdge/
--
mo*******@nospam.com
"Steven Cheng[MSFT]" <v-******@online.microsoft.com> wrote in message
news:L6**************@cpmsftngxa06.phx.gbl...
Hi Moondaddy,

Since you met problem when trying to convert the C# generated Image
component to VB.NET. I think we can first try to isolate the problem to a
smaller scope. Have you try adding some break points into the code and
runtime debug the code to see what is the root cause of the problem? I
still think generally the component is surely able to generated by both C#
or VB.NET. Please have a check , if you have any new findings, please feel
free to post here .Thanks.
Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

Nov 18 '05 #3
Hi Moondaddy,

Thanks a lot for your followup and I'm glad that the problem is figured
out. Also, thanks for sharing your solution with us :). Have a good day.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
3573
by: theonlydrayk | last post by:
the script that show image is : <?php include('dbinfo.inc.php'); mysql_connect($localhost,$username,$password); @mysql_select_db($database) or die( "Unable to select database"); $query =...
3
11025
by: Graham Nicholls | last post by:
Hi, I'm trying to size a jpeg file. The file size is held in a short (2 byte integer) at a certain offset. Once I've found these two bytes (they're in MSB,LSB order), I need to convert them to...
0
1054
by: Andreas | last post by:
Hi! I'm trying to create in-memory assemblies from source using C# 2.0 from Visual Studio 2005 Beta 2. The generated assembly should have the same name as an assembly that may already exist on...
0
1008
by: pbb | last post by:
I saw an old post where a guy (Moondaddy) converted Dino Esposito's code for dynamically generating an image in ASP.NET 1.1 from C# to VB. The basic gist of the code is that you can stream an...
7
1226
by: Victor Irzak | last post by:
Hi, Is there an Image Generation Service in framework 2.0??? I couldn't find anything related to it. Thanks in advance, Victor
10
1465
by: pcthug | last post by:
Hi All, I am creating multi-tier app in vb.net using visual studio .net. I create a invoice.vb class file with properties, events and methods. This also has a line item collection class...
7
2362
by: dino d. | last post by:
Hi- I want to create a dynamic image with areas so that when the user clicks different areas, the user jumps to those pages. The problem is, I can't seem to figure out how to do this efficiently....
8
2135
by: Fred | last post by:
Hi People, I have a bit of a problem on my hands and wondered if anyone here has done anything similar! I have a VB6 application that displays an image stored locally (all easy stuff so far)....
18
2269
by: Angus | last post by:
Hello We have a lot of C++ code. And we need to now create a library which can be used from C and C++. Given that we have a lot of C++ code using classes how can we 'hide' the fact that it is...
0
7199
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7273
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6982
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5572
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5000
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4667
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3150
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
731
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
374
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.