Topics
-
-
- Administrators
- 2 replies
- 4.3k views
I have created a test com dll in vs2005 that i'm calling from excel vba. When the dll is registered using vs2005, i can call correctly from vba. however i want to distribute this dll is the same directory as the excel file and be able to use it without having to register the dll on the host computer. i understand this can be done by using the following code: Private Declare Function myFunction Lib "ClassLibrary1.dll" () As Integer however i in my test sub: Private Declare Function myFunction Lib "ClassLibrary1.dll" () As Integer Sub test() MsgBox myFunction '<-- error here End Sub ... i get the error 'Specified DLL function not found'. I have searc…
Last reply by q1w2e3r4t7, -
-
I want to be able to split a video in half while playing it. The general idea is to take a video that is (for example) 64pixels high and 1000 pixels wide and play it in a 128pixel high and 500 pixel wide window. Kind of a CRLF in the middle of the video :) example: http://ideadeploymentonline.com/misc/forum/one.bmp would be played as: http://ideadeploymentonline.com/misc/forum/split1.bmp I am sure DirectX could do it, but I have NO CLUE where to even begin to research it.
Last reply by MarkusFL, -
-
- Administrators
- 4 replies
- 802 views
I need a way to encrypt and then decrypt a stream of bytes. There are many techniques that I've found on how to encrypt a file, but decrypting the information so that it can be used again seems to be a secret. Has anyone run across something that shows how to encrypt then decrypt a file?
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 4 replies
- 959 views
Hi I have upgraded a windows application to .NET Framework 2.0. When I look in the designer the GUI Theme appears correctly, however, when I run the application the GUI Theme from .NET Framework 1.1 is used. Is there anyway I can have the 2.0 Framework used at all times? Mike55.
Last reply by mike55, -
-
-
- Administrators
- 0 replies
- 5.5k views
The attached sample shows how to use the built in TripleDES provider to encrypt and decrypt a single file. The application was written under VS 2008 but the code itself will happily run against .Net 2 After selecting a file to encrypt enter a password and hit the Generate IV button to generate a random IV for the encryption. When you decrypt the file you need to make sure both the password and IV are the same. If you do not specify these then the system will generate these randomly each time and you will never be able to decrypt an encrypted file! The application itself has no real error handling so make sure you provide a password and an IV otherwise it will…
Last reply by PlausiblyDamp, -
-
-
- Leaders
- 1 reply
- 812 views
Does anyone have any tips on how to avoid Pixelation issues when drawing controls and setting the Region? Drawing with smooth curves is easy thanks to the .Net libraries but it appears that Region property doesn't carry these settings forward hence I get stair step looking curves. Any help would be greatly appreciated I've been tickering with this for several hours now.
Last reply by snarfblam, -
-
-
- Administrators
- 4 replies
- 1.9k views
I have a windows app that uses webbrowser control, it works fine at the corporate office, we now have a branch office with a VPN. Their VPN allows them to access the internet on their internet connection, not thru our VPN. I want them to use my app, but I want all internet traffic generated by my app to go thru the VPN and use our gateway. The traffic needs to go thru corporate, since they know OUR gateway IP address and will now allow the branch to use their local internet connection. thanks
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 4 replies
- 9.4k views
I have included crystal reports in my vb.net windows application.Their basic format is defined by dragging & dropping database fields from Field Explorer.I can deploy a windows application which do not include a crystal report.But what files should I include when there is a crystal report involved when creating the setup of the windows application ? (Using VS-2005).
Last reply by PlausiblyDamp, -
-
- 1 reply
- 849 views
I have a Database (Microsoft SQL Server Express 2005) that contains the following data table: -DATE--------TIME----LEVEL 19/11/2008 - 8:00am - 05 19/11/2008 - 9:00am - 10 20/11/2008 - 8:00am - 06 20/11/2008 - 9:00am - 11 21/11/2008 - 8:00am - 12 ... This data can span as far back as 2-3 months... I want to find a way to return a Dataset for each of the last 7 days. Writing these queries is pretty easy if I know the DATE corresponding to the last 7 days. Is there anyway to calculate such a thing? For example get Now(), then Now()-1, Now()-2, etc... or something similar? Any help would be greatly appreciated. Thanks,
Last reply by Nate Bross, -
- 3 replies
- 2.6k views
This is going to be fun to explain... I have a DATABASE that contains the following data: -DATE--------TIME----LEVEL 19/11/2008 - 8:00am - 05 19/11/2008 - 9:00am - 10 20/11/2008 - 8:00am - 06 20/11/2008 - 9:00am - 11 21/11/2008 - 8:00am - 12 So there is a column for DATE, a column for TIME, and a column for LEVEL. However, I need to display the data in a different format, specifically something like this ------------8:00am--9:00am 19/11/2008 -- 05 --- 10 20/11/2008 -- 06 --- 11 21/11/2008 -- 12 Notice that I have changed the orientation of the data, instead of having a row per Date/Time I now have columns that are TIME and rows that are D…
Last reply by Nate Bross, -
- 9 replies
- 4.8k views
Hey Guys, I have been having a few problems trying to get all the letters in a textbox to split. I want to get any letters that the user types in a textbox to be split into each different letter. The end result will be that i can check each letter and cross reference it with a number. E.G. r returns 32, e returns 54 This is going to be done for every letter that the user types, Any help would be great appreciated! Thanks.
Last reply by Maninder Kaur, -
- 2 replies
- 718 views
Hey I have a small problem and i hope someone can help me with this... i want to populate every string value in a certain listview subitem index to either a collection or stringbuilder. However the subitem index can be quite large in number and size. right now i have almost 200 items in that particalular index. How would i populate that amount of strings. An ordinary string array? not sure how many items a string array at maximum. Since that number can change to alot bigger i need an alternative like collection or stringbuilder. Thanks regards /xorl
Last reply by xorl, -
- 0 replies
- 1.4k views
Hello I am having a strange problem displaying a report in local mode. It's a rdlc report that works fine on the development machine, but when i move the application and try to display the same report it says "Some parameters or credentials have not been supplied" there are 2 parameters that show just fine on the development machine. the database has exactly the same data in it, only the server is different. practically only the connection string changes on the other computer, and the login used to access the database has full privileges. thanks
Last reply by Puiu, -
-
- Administrators
- 1 reply
- 907 views
hai, i want to know how we can do the text moving from right to left in loop as it in the browser i want to do in windows form is there any new controll are how we can do
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 4 replies
- 2.4k views
I have recently started using Oracle�s ODP.NET Data Provider to insert Multiple Rows within a single round trip in my ASP.Net web applications. The class used is OracleCommand, which is part of the Oracle.DataAccess.Client namespace. Moreover, the ArrayBindCount property allows me to achieve a multiple row insert. In the database, I have used a stored procedure for DML. The issue that I am facing is that sometimes, the parameter value that reaches the Oracle procedure for DML is malformed in the sense that I find more than one row values reaching the procedure in a single record. This happens with parameter values that are coming from ASP.Net dropdownlists. Here is an …
Last reply by Boinka, -
-
Crystal Reports in vb.net
by Guest herewegoagain- 1 reply
- 2.2k views
Does anyone know how to make the table that is generated by the crystal reports engine put row borders, column borders etc?
Last reply by robertsams23, -
RSS Reader
by Diesel- 4 replies
- 1.5k views
Hi, I've developed an RSS aggregrator for Windows. There are dozens of RSS readers out there already, but this one uses a different philosophy. It doesn't bombard you with information, the interface was well thought out, and there is no maintenance at all, unlike the current generation of readers that alert you to delete posts everyday. I'm in need of a beta audience. It's completely functional right now, but there may be some minors bugs and tweaks to make. Any feedback at this stage will immediately effect the product. Check it out at: http://www.realsimplenewsreader.com
Last reply by Diesel, -
-
- Administrators
- 3 replies
- 1.6k views
I've got a class that I want to display in the propertygrid. Some of its properties refer to other instances of the class. I'd like to display those properties in the grid using just the ToString value for the other instances. But what happens by default is that a plus/minus box appears to the left of the property and all the properties of the secondary object are listed if the user opens this up. The property grid can be opened up indefinitely and it gets to look really confusing. How can I prevent the properties for the secondary object being expandable?
Last reply by rbulph, -
-
- 0 replies
- 793 views
Do you mark your Data Objects with [DataContract] and its fields with [DataMember] in the event that you would ever want to use it in a WCF Service? I used to mark my Data Objects as [serializable] and since it was only one tag per class I didn't mind doing it since frequently I would want to serialize the object for storage, and it let me use it in asmx services as well. Adding all of this WCF specific stuff seems like alot of work for the off chance you may end up using it down the road, but if you don't do it initially and need to use it in a WCF service later you don't have any options except to change and recompile, am I wrong?
Last reply by Nate Bross, -
- 1 reply
- 4.6k views
I am really struggling with getting the column names from a MS Access table, I have been googling for some time now and can not seem to find an example that works. Any help would be really apreshiated Thanks in advance Simon
Last reply by Nate Bross,
-
Who's Online 0 Members, 0 Anonymous, 46 Guests (See full list)
- There are no registered users currently online