Showing results 1 to 17 of 17
Search took 0.00 seconds.
Search: Posts Made By: clemon79
Forum: .NET File I/O and Registry 06-09-2007, 02:17 PM
Replies: 29
Views: 4,396
Posted By clemon79
Your worst nightmare is back! :) So I picked...

Your worst nightmare is back! :)

So I picked this project back up after letting it sit for a long time, and I've discovered that the FontSupport method we've discussed above doesn't work in...
Forum: .NET File I/O and Registry 02-14-2006, 03:24 PM
Replies: 29
Views: 4,396
Posted By clemon79
Okay, I got it working. :) Problem seems to be...

Okay, I got it working. :) Problem seems to be that the project I'm trying to add this functionality to started out life as a VB2003 app, and the thingy that converts it to VB2005 doesn't do it very...
Forum: .NET File I/O and Registry 02-14-2006, 01:22 PM
Replies: 29
Views: 4,396
Posted By clemon79
Oh jeez, I'm a dingbat, I completely overlooked...

Oh jeez, I'm a dingbat, I completely overlooked that.

And, yes, adding "Shared" to the GetFont declaration seems to have cleared up that other error. Now we just have to see if all of this...
Forum: .NET File I/O and Registry 02-14-2006, 01:00 PM
Replies: 29
Views: 4,396
Posted By clemon79
Okie, I'm lost again. :) I don't know how to do...

Okie, I'm lost again. :) I don't know how to do this. All I know about AddFontMemResourceEx is that it is part of the GDI32 library. Which means I don't know what to do about this line:

...
Forum: .NET File I/O and Registry 02-14-2006, 01:45 AM
Replies: 29
Views: 4,396
Posted By clemon79
Okay, I hate to regurgitate this, but something...

Okay, I hate to regurgitate this, but something came up with regard to this vis a vis a different project. :)

So I know I can embed a font this way if I include that GetFont function inside of the...
Forum: .NET File I/O and Registry 02-02-2006, 10:43 PM
Replies: 29
Views: 4,396
Posted By clemon79
Wait, no, I got it, I found where the Assembly...

Wait, no, I got it, I found where the Assembly name was, and fixed it to get rid of the space, and it seems to be running now!

Thank you SO much for the help. There is no way in nine blue hells I...
Forum: .NET File I/O and Registry 02-02-2006, 10:38 PM
Replies: 29
Views: 4,396
Posted By clemon79
Okay. I don't know what this means. (Well, I do,...

Okay. I don't know what this means. (Well, I do, but vaguely.) Are you saying that calling the project "Inquizitor 2005" is creating the problem, and renaming it to "Inquizitor2005" will fix it?
Forum: .NET File I/O and Registry 02-02-2006, 03:25 PM
Replies: 29
Views: 4,396
Posted By clemon79
Excellent. I've attached the project sans both...

Excellent. I've attached the project sans both folders. (The font, while it mentions a 1999 copyright date, is openly downloadable for public use, and I know the guy who made it, so I feel...
Forum: .NET File I/O and Registry 02-01-2006, 04:52 PM
Replies: 29
Views: 4,396
Posted By clemon79
Yeah, it's certainly not your fault, it's all me,...

Yeah, it's certainly not your fault, it's all me, I just don't know enough VB and development stuff to understand all of the technical stuff.

So I'm not sure what not to attach, beyond the "bin"...
Forum: .NET File I/O and Registry 01-31-2006, 08:31 PM
Replies: 29
Views: 4,396
Posted By clemon79
Yeah, I'm officially lost. I appreciate the...

Yeah, I'm officially lost. I appreciate the advice and help, but you're way over my head. :)

I'll see what this Reflector thing does and if I can figure it out, but right now I'm thinking maybe...
Forum: .NET File I/O and Registry 01-31-2006, 06:52 PM
Replies: 29
Views: 4,396
Posted By clemon79
Gotcha. (I think.) It seems to be inside of the...

Gotcha. (I think.) It seems to be inside of the GetFont function, which it wayyyyy over my head. Happens at this line:
Dim ByteStrm(CType(FntStrm.Length, Integer)) As Byte

So I gotta...
Forum: .NET File I/O and Registry 01-31-2006, 06:36 PM
Replies: 29
Views: 4,396
Posted By clemon79
I'm guessing they work different in VS2005, or...

I'm guessing they work different in VS2005, or else I just don't know what you mean.

Here's what it copies to the clipboard:
System.InvalidOperationException was unhandled
Message="An error...
Forum: .NET File I/O and Registry 01-31-2006, 06:10 PM
Replies: 29
Views: 4,396
Posted By clemon79
Alright, so here's where I am: I have...

Alright, so here's where I am:

I have declared the following:
Dim FontArray() As String = {"Eggcrate.ttf"}
Dim FntFC As Drawing.Text.PrivateFontCollection = GetFont(FontArray)

...and...
Forum: .NET File I/O and Registry 01-31-2006, 05:48 PM
Replies: 29
Views: 4,396
Posted By clemon79
Which you would then declare seperately, I...

Which you would then declare seperately, I gather. I guess I'll have to read up on arrays. :)

(I'm REALLY new at VB, I've been playing with it for a week or two and I'm trying to port over what...
Forum: .NET File I/O and Registry 01-31-2006, 02:05 PM
Replies: 29
Views: 4,396
Posted By clemon79
I thought that might be missing, but I figured...

I thought that might be missing, but I figured since it was called inside of the function, it was there. I should know better.

I don't understand what's supposed to replace the ellipsis, though....
Forum: .NET File I/O and Registry 01-31-2006, 01:02 PM
Replies: 29
Views: 4,396
Posted By clemon79
Yeah, I've tried that and I can't get it to work,...

Yeah, I've tried that and I can't get it to work, which is one reason I was hoping against hope there was a better way. When I follow their directions, and then put the font call in Public Sub New,...
Forum: .NET File I/O and Registry 01-31-2006, 02:25 AM
Replies: 29
Views: 4,396
Posted By clemon79
Question Using a font embedded as a resource?

I *hope* this is the right place to post this.

I have a TrueType font that I use in my app that I don't want to have to install seperately on every machine that uses the app. Recently I got some...
Showing results 1 to 17 of 17

 
Forum Jump
Advertisement:



Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe