Topics
-
-
- Administrators
- 14 replies
- 1.6k views
Hi all. Any lead on how to appropriately called a COM object using C#? Thx.
Last reply by amir100, -
-
- 0 replies
- 835 views
I have setup a virtual directory for directory browsing and placed some mp4 files in there.. for some reason if you try to click on the file it wont open in a player nor will it allow you to "save target as".. If the same test is done on say an mp3 file.. everything works fine. A blank page with "The resource you are looking for has been removed, had its name changed, or is temporarily unavailable." comes up instead, for the mp4s.. Anyone run into this? Secondary question.. are there any good encoder tools/services for IIS under Vista at this point.. I noticed Microsoft Expressions Media Encoder is coming, but not out yet and the old Windows Media Encoder wont…
Last reply by markm75, -
- 0 replies
- 3.9k views
How can I make a website to essentially make a website. My intention is to allow the users of the site to create their own site with text and pictures to advertise their car. I have read that it is best to store uploaded pictures in the server file system rather than in a database. I do not understand how a user created website would be stored though. I need to be able to give the user more space for their advert if they have selected to pay more for the advert. It would be good if I had a user given a website creation wizard which did: Step 1: user chooses background colour for website Step 2: user chooses layout of page Step 3: user uploads images, e.g 4 images - c…
Last reply by william22, -
- 0 replies
- 688 views
Every time I think I figure out how to make a dataset really viable (over just datareaders and functions calling SP's) I think it through further and it seems like they're too much overhead for how little functionality they give you (at least in comparison to the 'sets in WinForms). Doing a normal declaration, your dataset won't be there for a postback (it'll be on the old pages instance and not the new pages instance) and if you're not going to keep data around, you might as well just hose it out. Datasets are more for being a temporary cache of data. You could serialize the data and send it back & forth, but that seems less efficient than just requerrying it. …
Last reply by Denaes, -
- 0 replies
- 3k views
Hi, i am new in visual c++ (cause i m c#.net) i want add control (like as editor or button and etc) to my mfc activex in new mfc activex there is OnDraw function that draw what we want shown in our control, is it? how can i add some control to my axtivex face?
Last reply by hamid, -
-
- Leaders
- 4 replies
- 760 views
I have an imagebutton control, i'm setting its src property using javascript as its part of an image swap type routine. But then when its .net click event fires and need to know the filename of the actual image - i.e. the src attribute. However Imagebutton.ImageURL is nothing. Is there anyway I can get at the underlying image src filename? Thanks
Last reply by MrPaul, -
-
- 3 replies
- 1.3k views
please let me know any advice you have thanks
Last reply by mike55, -
-
- Administrators
- 2 replies
- 2.8k views
Hello, Is it possible to make an SqlTransaction having a strored procedure as my sqlcommandtext ? In the examples i've seen people just use transactions with sqlcommandtext containing UPDATE, DELETE or INSERT code. Is it possible? TIA,
Last reply by teixeira, -
-
-
- Administrators
- 1 reply
- 2.5k views
hi, this is my problem: i have a zip file in System.IO.Stream How do I show zip entries and extract file(files) in another System.IO.Stream without save zip file on disk?
Last reply by PlausiblyDamp, -
-
-
- *Experts*
- 2 replies
- 962 views
In VB6 I was able to give a name to my output .exe file, so it will have the custom "Internal Name" in the Properties Window / Version. But in .NET I can't. Can I?
Last reply by mskeel, -
-
-
- Administrators
- 3 replies
- 757 views
I have a custom class which represents an item in my shopping basket (e-commerce site) Is there a collection object which I can add all the shopping cart items to (normally I just use a datatable in the session to hold this info) but I want to try it by just adding the collection to the session. Whats the best collection object to use for this? Thanks
Last reply by amir100, -
-
- 0 replies
- 715 views
I have a web service and I want to know if I can send custom http headers similar to "content-type" and read them on the web service side. i want to create a header called "Branch" and add it to my HttpWebRequest. I know how to do it with SOAP already but http doesnt seem to work the same way.
Last reply by kelphis, -
- 1 reply
- 2.4k views
Greetings all, Needing to be able to drag and drop files or even weblinks from Explorer or a browser into a picturebox and get the string for the path or text of the link. I think I could figure out how to get the text if I could just figure out how to accomplish this drag and drop feat. Have searched the web for examples figuring there would be one out there but they all deal with dragging and dropping from one picturebox to another, or even to the form itself. I just want it limited to the picturebox control on the form, and the dragging will definitely be coming from outside the program. Any pointers or examples (if it is simple and won't take up too much of your…
Last reply by mooman_fl, -
-
- Administrators
- Leaders
- 2 replies
- 810 views
Yes, I'm still new to ASP.Net 1.1 & 2.0, but I've been using WinForms for a few years (since 2003 I think?), so maybe my perception on bottlenecks is skewed here. We're running an enterprise level ASP.Net 1.1 application which also has many pages still in Classic ASP. The Server is "2003 Server" on a modern cutting edge server... core duo or core quad or whatever. The database is SQL Server 2000. This app has been around for a while, so this hasn't always been the OS or server computer. In comming to this project, the developers keep on saying that we need to handle things clientside when possible. Not for ease of use, but to save the server from bottl…
Last reply by snarfblam, -
-
- 2 replies
- 957 views
Can someone help me figure out how to set my anchors and dock settings on this form? I have tried several combinations but nothing produces the desired effect. I am using C# and Visual Studio 2005, with standard controls. The grids are DataGridViews. What I want to see happen, is when the user resizes the form, the 2 grids always stay the same size as each other (growing OR shrinking, both vertically and horizontally), and the arrow buttons always stay between the two grids. I want the edges of the grids to stay on the form (not disappear off of the edge when shrunk) - this is easy with the vertical aspect using anchors, but the horizontal aspect is a real pain. A…
Last reply by lonewolf32, -
-
- Administrators
- 1 reply
- 654 views
I have several literal controls on my page, Literal1, Literal2, Literal3 etc I have a function which takes an index Private Sub UpdateLiteral(byval index as int16) ... End Sub In that sub I want to update the corresponding literal to the index that comes in, I could do: Select Case index Case 1 Literal1.Text = "new value" Case 2 Literal2.Text = "new value" Case 3 Literal3.Text = "new value" End Select But theres a lot more than 3 literals, how can I dynamically generate the object name that I want to manipulate? Thanks
Last reply by PlausiblyDamp, -
-
-
- Administrators
- Leaders
- 13 replies
- 5.7k views
Is there a System.IO method that can analyze a filename for validity?
Last reply by amir100, -
-
-
- Administrators
- Leaders
- 6 replies
- 2k views
Does anyone know how to use the Windows copy animation in .NET? It was pretty easy in VB6. Just place an animation control on a from, set a couple properties and you're in business. What could be easier? I can't find much information on the .NET way of doing it. Any help would be appreciated.
Last reply by PlausiblyDamp, -
-
- 0 replies
- 1.1k views
I am tasked with creating a generic "end-user" query tool. One of the features is the ability to query on any field of any table. I have most of my design done, but I still need the ability to determine if a column is based on a "number" type. The type can any of the "number" types: tinyint, bigint, numeric, decimal, money, etc. Basically any column that can be compared using "<", ">" or "=" operators. Using "exec sp_columns 'customer'", I can get a list of the columns and data types (column "TYPE_NAME"), but I was hoping that there was an easier way to determine what columns I can apply the "<>=" operators. If there isn't then I guess I'm stuck with…
Last reply by flynn, -
-
- Administrators
- 1 reply
- 774 views
I have some questions about Windows versions XP is 5.1.0.0 right? all of it's versions? But what about Vista? 6.1.0.0? exactly? Thanks.
Last reply by PlausiblyDamp, -
-
Who's Online 0 Members, 0 Anonymous, 58 Guests (See full list)
- There are no registered users currently online