My hosting company has a quota in place for my MS SQL server (SQL Server 2000 I think). I wanted to write a script in ASP that would determine how much space is currently being used in my database so I could tell if I need to buy more storage or clear some rows.
Are there any SQL commands that...
The best I could do so far was to handle the updating event of my QueryDataset and throw an exception if I didn't want the post to go through. I'm not sure if there is a better way to do it though.
The reason I want to do this is because of the way I handle the navigation with the...
I have a QueryDataset that needs to be validated before it's committed to the database. The province field must match up with the country field.
I started using a QueryResolver and it worked great. I could call resolverResponse.skip() to cancel the commit and prompt the user for changes.
But...
Hi Ramani.
It's not a problem with resizing images. I can do that all I want.
The original graphic is in Illustrator. I opened the .ai file in Photoshop as a 600 dpi images (looks nice) and saved it as a bmp. When I added it to my Foxpro report, it took up the whole page.
So then I opened...
I want to put our company's logo on some reports, but it's not looking too good. The logo was made in Illustrator so it's a vector image (should be great for scaling).
In order to include it on the reports, I converted it to a bitmap at 600 dpi (the resolution of our printer). Unfortunately...
Thanks. That gives me a place to start. The only thing now, is that the first form (the one I don't want anyone to see in the taskbar, alt-tab menu, etc.) has a border around it. The size is still 0, 0, but it has a blue border with a small title bar.
I set ControlBox = False and that shrunk it...
I don't want my main form to show in the taskbar. I want to run a NotifyIcon off of it and then use a second form for my main user interaction.
When the form is set to ShowInTaskbar = False, you get a different icon in the "alt-tab menu (what's this called?)". I wanted my own icon to...
Thanks everyone. I got it to work just before leaving work yesterday. I didn't do the RegSvcs, but I did RegAsm. Then in FoxPro I was getting the error that it couldn't find the dll (error 0x801-somthing) even though I had the dll in the GAC. After rebooting it worked fine.
Although, it might...
This is supposed to mean that the COM client can't find the DLL. I have both put the assembly in the global assembly cache AND copied the DLL to the client's directory, but I still get the error.
Thanks. I read a few pages on CCW AND RCW. My aaembly is now in the GAC and it's registered for COM. Now my VFP 6.0 app recognizes the DLL but when I call CreateObject I get OLE error code 0x80131522: Unknown COM status code.
To simplify things, my .Net code is now just this...
I want to create a DLL in VB .Net and use it in a COM program (VFP 6.0, actually). I don't really know where to start. I've read through the MSDN library on the subject but, I can't figure it out.
Can someone give an example of a VB.Net or C# DLL that can be used by COM? Also what special steps...
Either way, the DLLs made with a .Net language can supposedly be used in COM languages, whether it's Visual FoxPro 6 or 600. I just can't find out the proper syntax.
Has anyone successfuly made a .Net Class Library and used it in FoxPro? If so can you provide the code needed in both FoxPro and in the .Net language of your choice?
I made a Class Library that compiles and can be used in other .Net projects, but I can't seem to register it for use in FoxPro.
Zarcom: My question was "is what I wrote correct?". (re: differences between session variables and using the viewstate)
Oh, and thanks for the replies, both of you.
That sounds good. I'll leave it as it is then and get the information from the database each time. It seems a shame though.
Perhaps you can verify or clarify this for me: if I use a session variable, the data is stored in ram and each page has access to this ram. If I use a ViewState, (of...
I wrote this a few days ago, but I forgot to put in a subject heading and no one replied.
Now I'm asking a slightly different question: is it feasible to store a DataSet in a ViewState or Session Variable? The reason I ask is that (I figure) some of a DataSet's benifits are lost if you have to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.