Topics
-
- 2 replies
- 1.2k views
I have this format for an XML form: <Individuals> - <Individual> <Individuals-Name>Joe Light</Individuals-Name> <Individuals-ID-Number>3999</Individuals-ID-Number> <Main-Applicants-Name>Joe P Light</Main-Applicants-Name> <Main-Applicants-ID-Number>3999</Main-Applicants-ID-Number> <Relationship-to-Main-Applicant>Self</Relationship-to-Main-Applicant> <Birthdate>03-05-1973</Birthdate> <Gender>Male</Gender> <Smoker>Smoker</Smoker> - <Application-Data> <Rate>163.85</Rate> <PlanCode /> <PlanNumber>MHP007</PlanNumb…
Last reply by VBAHole22, -
- 2 replies
- 874 views
Am after stumbling on a major error in my code when dealing with crystal reports, I found that if a name has an appostraphy, then crystal throws the following error: Error in File C:\DOCUME~1\D2400\ASPNET\LOCALS~1\Temp\temp_dc5b0c65-f99b-49dd-8890-6219bd883c85.rpt: Error in formula <User>. ''Michael O'Donnell'' The remaining text does not appear to be part of the formula. When I pass values to crystal, I am using FormulaFields. So is there a way to get Crystal to accept the appostraphy or do I have to remove it or replace it with a different character? Mike55.
Last reply by mike55, -
-
- Administrators
- 4 replies
- 4.6k views
How the Foxtrot can I release the Hashtable's associated resources? I load 30 large bmps which will "eat" about 45MB of ram. Then, If I reload them, an aditional 45MB will be consumed. So, basicaly, If I reload these pictures 5 times more the 200MB will be consumed, even with the myHasTable.Clear() property and the CollectGarbage before reloading these images... Also, the Hashtable don't have the "Dispose()" property... What the... This Hastable of mine is static so I would only like to dispose it's associated resources rather then disposing the object itself...
Last reply by HJB417, -
-
-
- Administrators
- 3 replies
- 2.3k views
hello, i hope, i've chosen the right forum - wasn't shure about the decision. my problem: i have two classes: Category & Task every task belongs to a category here my task constructor: Public Sub New(ByVal valName As String, ByRef valCat As Cat) Name = valName Cat = valCat Cat.AddTask(Me) End Sub now i'd like to extend this constructor by adding a default category where to put the tasks if the tasks category is unknown. i don't know how to implement such a default category in the task constructor. it would be great if you could help me! thx greetz jo
Last reply by PlausiblyDamp, -
-
- 2 replies
- 1.2k views
What I want to be able to do is add properties to my propertygrid at runtime depending on what properties the user has specified with a database table. Let me give you an example and hopefully it might all become clearer. I have a propertygrid called 'propGrid1' which is placed on my form already at design time. I then have a database table which has 3 columns and info as shown below: propertyName | propertyCategory | propertyType | ----------------------------------------------------- textProp1 | textCate | text | boolProp1 | booleanCate | boolean | What I want to be able to do is read the conte…
Last reply by pelikan, -
-
- *Gurus*
- Leaders
- 11 replies
- 2.6k views
Hi guys...just wondring if you can help me out with my problem relevant to this one. i want to know which window is active on the desktop?. i'm implementing a flashwindow function..If my application is not the current active window on the desktop it should flash on windows status bar..how can i trigger the flash event ? Thanks... More power !!! -Raffy :-\
Last reply by Ieuan, -
-
- 2 replies
- 1.8k views
Hi I was wondering if there was a way to print external documents such as .doc or .pdf files from vb.net. I would like to use the regular print dialog window that you get if you print from programs such as internet explorer or word. I need this because I work at a small business where I print massive quantaties of documents and need the copies option. I haven't programmed for at least 5 years so I am kind of rusty at this. Thanks
Last reply by Ieuan, -
- 4 replies
- 1.1k views
I'm not ASP.Net Programmer or not even a Classic ASP Programmer, but i wanna learn these stuffs. In this is the situation... I tried oppening the Web Application Under VB.Net in Visual Studio.NET 2003 from my PC. an error prompted... ERROR: The Web Server reported the following error when attempting to create or open the web project located at the following URL: 'http://SERVER_IEUAN/WebApplication1'.'The server name or addresss could not be resolved'. I tried also in another PC which PC has no IIS in the administrative tools, and still an error prompted... ERROR: Visual Studio .NET cannot create or open the application because no Web Server was detected at…
Last reply by Ieuan, -
- 2 replies
- 956 views
I'm not yet into in vb.net programming, but according to my experience in VB6 programming, when I use Microsoft Access as the database in my projects, then the target client don't need to install Microsoft Access as long as they need to have required MDAC, right!? I wonder if I use SQL Server 2000 as my Database, would i need to install it to my target client? So then, which is better to use?
Last reply by Ieuan, -
- 1 reply
- 5.3k views
Ok.. I have a picChart picturebox on my form that resizes with the form. It is double buffered by me so when the picChart chagnes size, I must resize my backbuffer... I can do any of my drawing at any time using GDI+ and memDC. It works very well and my picChart is redrawn any time the user drags stuff over it. bitblt seems very fast as well although memDC.DrawLine does not seem as fast as GDI MoveToEx and LineTo.. but its very easy to implement. When the user resizes the form, i get SEVERE memory leaks.. I am completely lost now. I can't figure out the solution. I have tried using a static backbuffer size and instantiate it outside of the resize form but that st…
Last reply by IngisKahn, -
-
- Moderators
- 1 reply
- 626 views
I have a dropDown list (combo box) that is bound to a sqlServer table. A selection of an item from the list box redirects the site to another page where it displays an .HTM. When the back button is clicked, the dropDown list does not go back to listIndex = 0, it stays on the selected index item. I tried setting the listIndex to 0 on in the init of the sending .aspx, in selectedINdexChanged of the DL after the redirect .reset and other similar tactics, but can not get that index back to 0. Any ideas
Last reply by Robby, -
-
-
- Administrators
- 6 replies
- 890 views
Has anybody ever written (or knows where I can find an article) on mixed .NET security? I'd like to present a login form (i.e. form security), validate the ID/password against Windows, and use my own tables for role lookup and management. TIA.
Last reply by patrick24601, -
-
-
- Leaders
- 2 replies
- 2.1k views
is there a way to do this? because I am trying to read the header of a swf file and there is a part in it that is never the same length in bits. it use the RECT data format RECT Field Type Comment Nbits: UB[5] //Bits in each rect value field Xmin: SB[Nbits] //x minimum position for rect Xmax: SB[Nbits]// x maximum position for rect Ymin: SB[Nbits] //y minimum position for rect Ymax: SB[Nbits]// y maximum position for rect this come from the macromedia website: http://download.macromedia.com/pub/flash/flash_file_format_specification.pdf since it use a number of bit, I cant just take the byte, and what is worst is that the number of bits varie for the last 4 data de…
Last reply by IngisKahn, -
-
-
- Leaders
- 3 replies
- 1.4k views
I have a C++ code that do this(write from a file directly to memory) it reads a wave file and store it in memory so it can be changed... here's my Wave.h file: struct EnteteWave { char chunkID [4]; int chunkSize; char format [4]; char subchunk1ID [4]; int subchunk1Size; short audioFormat; short numChannels; int sampleRate; int byteRate; short blockAlign; short bitsPerSample; char subchunk2ID [4]; int subchunk2Size; }; class FichierWave { public: FichierWave(); ~FichierWave(); int LireFichier(char *nomFic); int EcrireFichier(char *nomFic); double CalculerDuree(); short GetNbCanaux();//number of chanel int GetFreqEch(); short GetNbBitsPerEch(); int GetByteRate(); short…
Last reply by Shurikn, -
-
-
- Administrators
- 2 replies
- 1k views
I never used marshaling before, but I did some c++ code and I wanted it's equivalence in c#. My code used a struct like this: struct EnteteWave { char chunkID [4]; int chunkSize; char format [4]; char subchunk1ID [4]; int subchunk1Size; short audioFormat; short numChannels; int sampleRate; int byteRate; short blockAlign; short bitsPerSample; char subchunk2ID [4]; int subchunk2Size; }; but in c# we cant fix the array in a declaration on struct. So i searched on these forum and fond how to use marshaling and did this: [structLayout(LayoutKind.Sequential)] public struct EnteteAvi { [MarshalAs(UnmanagedType.ByValArray, SizeConst=4)] public byte[] chunkId; pu…
Last reply by Shurikn, -
-
- 2 replies
- 1.3k views
hello, i must to determine windows version, not only if it is windows 2000 i must to determine too if it is professional or advanced server, or server...!!! i have this page http://support.microsoft.com/default.aspx?scid=kb;en-us;304289 but only helps for determining if its windows 2000, or xp, or 2003, or 98... but not wich version of every one... does anybody knows how to doit? thanks!!!
Last reply by Rothariger, -
-
- Administrators
- 1 reply
- 1.3k views
Greetings and salutations! I have a VB CodeBehind called webform1.asx.vb. In it I am trying to use a class I have declared else where in the directory hierarchy within this application. The code behind page says: dim test1 as jobposition (getting error 'Type jobposition is undefined') jobposition.vb (within the jobposition namespace) is defined as: Namespace position ' may be vacant Public Class jobposition End Class ' END CLASS DEFINITION jobposition End Namespace ' position It is a couple of directoies down from the code behind, and I have insured that the folder has been included in the project. When I use the Visual Studio Class View I can drill …
Last reply by PlausiblyDamp, -
-
- 4 replies
- 822 views
I have an application which detects if an instance of it is allready running. And if so it will SendMessage(WM_SETTEXT) to the first instance's TextBox called communicator. This works correctly! But the problem is that I get an error in the TextChanged event: private void Communicator_TextChanged(object sender, EventArgs e) { String msg = Communicator.Text ; //MessageBox.Show(this,msg); ActiveForm.Text = msg; } The MessageBox (commented out) will show correctly but why doesn't it work without "this"? The real problem is "ActiveForm.Text = msg;", which causes the following error: "Object reference not set t…
Last reply by JumpyNET, -
Play Video
by PROKA- 0 replies
- 895 views
I'm currently working on a database with video files, and I want to do a Little preview of the clip for the users, before granting access to download. Like ... the first 10 seconds . Also I'm interested how to make a thumbnail automatically for the movie, so it'll show nice in the page
Last reply by PROKA, -
-
- Leaders
- 17 replies
- 2.1k views
Who? I started when I was 7, doing C++. But that doesn't count becuase all I could do was basic input and output ("Enter your name"... "Your Name is <>"), without really understanding anything (then I found vb a few years later and :D things took off from there) - so basically 8 or 9 years. But if I'm talking about seriously programming: 3 years. About when .NET came out. -The Pentium Guy
Last reply by Machaira, -
-
Who's Online 0 Members, 0 Anonymous, 68 Guests (See full list)
- There are no registered users currently online