Topics
-
- 8 replies
- 1.1k views
Help Help!!! How to create a customise messagebox for a PocketPC(device) application in vb.net. I am using VS 2005
Last reply by Cags, -
- 1 reply
- 3.1k views
I am trying to Initialize some arrays with in a structure, and when the arrays are initialized the memory that they are being allocated to is all off. For example when I set whole(0) equal to something the value is being placed in amount(1) instead of whole(0) very odd. Below is the code I am using to create and initialize the arrays. Public Structure fee_inrecord <MarshalAs(System.Runtime.InteropServices.UnmanagedType.ByValArray)> Dim amount() As Double 'Path to data files <MarshalAs(System.Runtime.InteropServices.UnmanagedType.ByValArray)> Dim whole() As Double <MarshalAs(System.Runtime.InteropServices.UnmanagedType.ByValArray…
Last reply by mandelbrot, -
- 3 replies
- 1.9k views
I have found this website closer to what I am looking for: I really need your help: Can anybody on this forum give me examples or suggestions for applying this Spreadsheet control or OWC embedding - I am open to receiving example suggestions in any language at this point... What I am looking for- is basically embedding it into MFC app. in a dialog (I have come this far with some simple manipulations, I am able to control this control) 1. display data cell by cell- 2. enable some cells for users to enter and 3. enable some features of copy-paste as in Excel but a grid like view is what is needed. Your help is greatly appreciated.
Last reply by XL-Dennis, -
- 0 replies
- 841 views
I am writing a web application (ASP.NET). I using crystal report feature provided by VS.NET to produce my letter, but user need to export to PDF before printing. But the problem is, when user want to print a range of letters, the alignment will jump a bit from 1 page to 2 page, it means the 10th page, the page totally cannot use... May I know how to solve this problem? This is crystal report problem or PDF? or ASP.NET problem?
Last reply by bungpeng, -
- 1 reply
- 2.2k views
How do I modify the data in my datatable, when it allready contains a row with the primary key? I don't know how to find the index? in C#.
Last reply by MickD, -
- 0 replies
- 1.5k views
I am using inpout32.dll to read and write to the paralell port - however, finding that the reads are somewhat slow. Specifically, from a quadrature encoder. Up to a certain point, the data is reliable - however, degrades and I increase the speed. Does anyone have any experience reading/writing to paralell port for data acquisition, can advise?
Last reply by Drstein99, -
- 0 replies
- 734 views
Hi all I am using .jpg images in my application, I am currently storing all my images in a file location, and placing their file path in the database. The problem with this is that I cannot display the images in crystal reports (version with vs.net 2005). I can however display the images if I store them as bytes in an image data type in my db. So the question is should I store either the file path of the bytes of the image in the database table? What are the contraints, I know that size is one, but will speed & performance be affected? Mike55.
Last reply by mike55, -
- 2 replies
- 1.3k views
I give in! I've looked all over, but can't find how to do this - could anyone point me in the right direction, please? Many thanks, Paul.
Last reply by mandelbrot, -
-
- Administrators
- *Experts*
- Leaders
- 12 replies
- 29.8k views
I am creating a game [C#], my first couple of versions worked perfectly fine on my many computers and my friends ... Then I went and made it larger by added objects (more on the map) and loading more pictures when I draw, running more bots concurrently, etc - pretty much made it more massive and complex (newer version of the game)... Great for me and all my computers (still works fine) but oddly enough my friend can no longer player it (I must admit his computer is far less powerful with much less ram)... Still I would have expected the game to run "slower" on other PCs (mind you this is a real wimpy GDI+ game) but when he loads the game (doesn't even get to play for…
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 3 replies
- 1.5k views
Can anyone direct me to where I can find some [free] managed language text editors with a UI to implement in my program. Thanks alot.
Last reply by Grasshopper-NET, -
-
-
- Administrators
- 9 replies
- 3k views
:confused: I have script and this script have to get information from textbox which is in a LoginView! <script language="vb" runat="server"> .... ............. = TextBox1.Text .... </script> <html.... .... <asp:LoginView ID="LoginView1" runat="server"> <AnonymousTemplate> <asp:TextBox ID="TextBox1" runat="server" Width="305px"></asp:TextBox> </AnonymousTemplate> </asp:LoginView> </html> But there is an error whet I run my page... :( "TextBox1 not declared" <--- error in script! WHY????? I have tried to write "LoginView1.TextBox1.Text", "LoginView1.AnonymousTemplate…
Last reply by PlausiblyDamp, -
-
-
- Leaders
- Administrators
- 3 replies
- 1.2k views
I've been using Visual Studio .NET 2003 and it just occurred to me that when I create a context menu or menu, I can't find a property to add icons or images to the menu items. But in Visual Studio .NET 2005 there is a property that allows this. Okay, here's my question can I add icons/images to my menu items in VS2003? Thanks for reading. :)
Last reply by Grasshopper-NET, -
-
-
- Administrators
- 1 reply
- 926 views
Hey guys, ok i have so many questions since i'm a total newbie to SQL server. Firstly, i posted this code on another forum we ended up solving it, but i need bit more explanation: String dbpath = Path.Combine(Application.StartupPath, "Database1.mdf"); String conn = @"Server=.\SQLExpress;AttachDbFilename=" + dbpath + ";Database=database1;Trusted_Connection=Yes;"; SqlConnection con = new SqlConnection(conn); con.Open(); SqlCommand comm = new SqlCommand("SELECT * FROM Student", con); SqlDataReader reader = comm.ExecuteReader(); while (reader.Read()) { MessageBox.Show("Retrieved ID:" + reader["ID"] + ", Name: " + reader["Name"]); } So firstly the in…
Last reply by PlausiblyDamp, -
-
-
- *Experts*
- Leaders
- 5 replies
- 1.8k views
Hy, How can I create a picturebox when the program is running? I tryed this but the picturebox didn't appear on my form. : Public Sub Continue_Champ() Dim tempimage As New System.Windows.Forms.PictureBox tempimage.Location = New System.Drawing.Point(Me.Width / 2, Me.Height / 2) tempimage.Name = "Champ" & colone.Count tempimage.Size = New System.Drawing.Size(88, 32) tempimage.BackColor = System.Drawing.Color.FromArgb(CType(255, Byte), CType(128, Byte), CType(128, Byte)) tempimage.show End Sub I also tryed a pictureboxarray but when I use pictureboxarray1.load(0) It say that : There are no controls i…
Last reply by snarfblam, -
-
-
- *Experts*
- Leaders
- 4 replies
- 902 views
I'm looking for guidance here on best practice. I recently programmed a Sudoku application which can help solve various forms of 'Doku' puzzles. These include normal Sudoku (9x9), GoDoku (9x9 with letters), SuperSudoku (12x12) plus a few more different types. Now each of these puzzles share exactly the same properties which include grid dimensions, mini grid dimensions, character set etc. I created a 'Doku' class that contained each of these properties, but have been torn how to proceed after that. One option is to have an overload for the constuctor that excepts all the relavent data so for example... Doku myDoku = new Doku(new Size(9,9), new Size(3,3), new Char { ..…
Last reply by snarfblam, -
-
- 0 replies
- 1k views
I know that I can resize the columns of a datagridview at runtime so they fit nicely. But how do you get the external frame of the grid itself to close up and fit against the grid that gets generated? I'm not sure if I am explaining this very well. If you are in the form designer you can drag the edges of the grid control stub to make it bigger or smaller, but when you run it and get the data for the grid if you have a few records in there you see a gap between the frame and the actual data. I could make the background the same color as my form but it's still eating real estate on the screen. I'm sure its some simple setting i'm missing.
Last reply by VBAHole22, -
- 4 replies
- 2.6k views
Hi all, I have two forms the first processes a big amount of information, and the second is na progress forms informing the user the progress of this processing. When i call the progress form, from the main form and i try to write in its progressbar, i get the interface very slow and the apolication hang up and stays bloced, give the idea that the program is not responding, how can i use this functionality by without hang up the app.? I tried to use Application.DoEvents() but it does't solve the issue. Any help, will be appreciated, TIA Tiago Teixeira
Last reply by teixeira, -
-
- *Experts*
- 2 replies
- 980 views
I�m trying to send a zipped solution file to someone but my server apparently thinks it contains a virus and is rejecting it. Calling my ISP tech support line was no help at all. Is there any work around for this issue?
Last reply by Nerseus, -
-
- 0 replies
- 1.5k views
I have a sql db and I want to load a table into a datagridview on a win form. I'm desperatly trying to avoid something like datagridView1.Column["MyColumn1"] because I realize how ugly this is. My db schema is not entirely settled and when it changes slightly all of this string based junk is going to bust. I also don't want to hand over my data source handling to ms. I tried this and I got 1000+ lines of Dataset code. That's not for me either. I like the Dataset because I get Intellinonsense support and strong typing. There has to be a happy medium here no? Is there a template out there for just the Dataset code I need out of that 1000 or can I pare that …
Last reply by VBAHole22, -
-
- Administrators
- 6 replies
- 1.6k views
I have created a xml file of which I am adding records to and thus they are not being added by me the user in a sorted order.... So, my thought is, could I call for a sort routine that would sort it? If so could you point me to it so I might see how this is done... My xml is somewhat like this <ChurchMemberShip> <Members> <Name>Smith, John</Name> <Address>Here Street</Address> </Members> <Members> <Name>Davis, Bob</Name> <Address>There Street</Address> </Members> </ChurchMemberShip> Could I sort this to l…
Last reply by mskeel, -
-
Who's Online 0 Members, 0 Anonymous, 32 Guests (See full list)
- There are no registered users currently online