Topics
-
- 4 replies
- 1.1k views
Hi, We have an application that many of our clients use on their machines. What I was wanting to do is when this application is updated, the updated version could go into a folder on our web server. The application on the client machine would check this web server to see if the version is higher than the one the client currently has. If so the client is offered to install the new version. I have see this thing as a user. But as a developer how easy is this process? Is it something I would have to write totally or is there a more simple way of acheiving this? Cheers, Dave.
Last reply by mskeel, -
-
- Administrators
- 4 replies
- 757 views
Are your data access methods smart enough to populate your business objects from a dataset or is your business object smart enough to populate itself from a dataset? I'm wondering what you guys do, I tend to make my data access populate my business objects... Thoughts?
Last reply by PlausiblyDamp, -
-
- 0 replies
- 928 views
Could anyone give me some information on how to screen capture on a Pocket PC or Windows Mobile device using Visual Studio (i.e Managed Code)? I written code to do it in the past using eMbedded VC, but very little of this will port over to VS. I've got working code for C# WinForms, except that it uses SendKeys (see code below). Unfortunately, SendKeys is not a part of the Compact Framework. Here's the method I'm trying to make, if it helps: private Bitmap m_bmp; public Bitmap PrintScreen() { SendKeys.SendWait("%{PRTSC}%"); // SendKeys is not defined! IDataObject ido = Clipboard.GetDataObject(); if (ido.GetDataPresent(DataFormats.Bitmap) == true) { m_b…
Last reply by joe_pool_is, -
-
- Leaders
- 5 replies
- 4k views
I have created a blank form with something drawn using drawing class. I have tried to use Bitblt to copy the screenshot of the form to a bitmap variable. However, the .net compact framework seems not supporting Bitblt in the same way. I need an alternative to capture the screenshot without Bitblt!~
Last reply by Nate Bross, -
-
- 1 reply
- 1.5k views
Mouse Event Handling: Overlapping Controls Hi I have a panel which includes some controls. Now I want the panel to hide if the mouse leaves its area. But the mouseleave event is also fired when I hover the controls in it. Is there some way to alter this behaviour, for example that the child control in the panel passes the mousemovement to its parent, so the parent (the panel) knows the mouse is still in its area? I know some easy way to verify if the mouse is still in it, but it would still be interesting to know if this is possible, since this behaviour changes between different events. I can for example add a handler for the Drag&Drop event of t…
Last reply by Diesel, -
- 2 replies
- 3.1k views
Hi All I have just been asked if I could write a program that our salesman can access remotely. What they want to do is after seeing a customer run a program that will allow them to enter notes and comments about there visit and save to our file server so that the details are avalible to everyone straight away, sort of like a cut down CRM system. I have no idea where to start on this one :confused: , can anybody recommend a good book on the subject? Thanks
Last reply by Diesel, -
- 2 replies
- 1.1k views
Hi all Working on a substantial web application at the moment. Give the large volumn of data being made available to customers via our web site we need to carry out a large amount of Stress, Soak and Load testing. Can anyone recommend some suitable tools, our application has been developed using SQL SERVER 2005 and Vb.NET (2005)? Mike55.
Last reply by Diesel, -
-
- Administrators
- 4 replies
- 1.5k views
I have an infragistics UltraChart and I am using the OS "Microsoft Windows Server 2003 Web Edition". The method that is being used with UltraChart is to create an image of the chart in a folder within the project every time the chart is requested and then the images is displayed on the screen. So far in testing and during developement the entire process worked as the OS used with "Microsoft Windows XP pro". Is there restriction with the Web Edition of Windows Server 2003 that would prevent me from writing files to the hard-drive with asp.net application? If so, can such restrictions be lifted, or bypassed? Mike55.
Last reply by mike55, -
-
- 3 replies
- 4k views
I have a VB.NET treeview control that is five levels deep. I am trying to figure out how to determine which level a given node is at. For instance if the hierarchy is as follows: Root Branch Bough Limb Leaf I would like return the value that the currently selected node is at, be it branch or limb or whatever. Is there a built in property in the the Treeview that returns this or is the a relatively simple way code for it?
Last reply by kmoyle73, -
-
- Administrators
- 2 replies
- 664 views
I've got some code that is chopping my subject line on the messages I receive, and I do not know why. Our server is running Active Directory and SQL Server 2000 Enterprise. The email is sent, but all we see in the subject line is "S". More debugging information: We do not reply to these system messages very often, but whenever we do, the header information (From, Sender, Date, Subject) all looks like it is in Chinese! Here is what I am doing: private bool SendMessage(string fcn) { MailMessage email = new MailMessage(fcn, fcn); email.SubjectEncoding = Encoding.Unicode; email.BodyEncoding = Encoding.Unicode; email.Subject = string.Format("SystemID {0} - {1}"…
Last reply by joe_pool_is, -
-
-
- Administrators
- 4 replies
- 7.4k views
Does anyone have any suggestions for compressing alll contents of a folder, and its sub-folders while maintaining the directory structure?
Last reply by PrOpHeT, -
-
- 12 replies
- 1.7k views
I have two tables both have a FIELD 1 I want to compare the two fields and have my process report anything that doesnt match ( not case sensitive because its numerical) any ideas? i have my oledbadapter and connection string all setup my select statement would be somthing like SELECT Field1 FROM TABLE1, TABLE2 WHERE then what? Thanks for any help
Last reply by tiagoney, -
- 1 reply
- 2.4k views
Hello! im new here so be nice. lol anyway, im working on a game in C#, scrolled RPG based (like golden axe style, screenshot added), with DX9. now i got a question.. this game is in 2D, and i want to add some lightnning effects (like when its night everything will be darker but there will be light source). i need some directions, how would you do that?? i could just make everything darker and draw half visible sprites of half visible white light circles, but than things will "loss" colors and its a louzy effect. i also thought about making things darker relevantly to their distance from light sources, but my terrain sprites are too big (256x128) and it will lo…
Last reply by EFileTahi-A, -
- 0 replies
- 1.1k views
hai, I have a VC++ Project file which provides some out put, Here i want make use of that project out put in my vb.net project here i am able calling using system.diagnostik.process.start("URL/folder name") but i am unable to capture the output which is generated by the VC++ project pleaase tell me how to capture the output message which is displaying in VC++ Labelbox here i dont have knowledge about VC++ Thank you in advance
Last reply by laxman, -
- 1 reply
- 760 views
I'm trying to get functionallity similar to the way Outlook sorts messages. Today Item1 Item2 Item3 Yesterday Item1 Item2 Item3 Last Week Item1 Item2 Item3 Is this doable with a GridView or should I use a Repeater? Just looking for some ideas to get me going in the right direction.
Last reply by Nate Bross, -
-
- Administrators
- 3 replies
- 5.9k views
Hi. How do I tell when a console application is being queried to close in VB.NET? For a windows forms app, I normally do: Private Sub ShutdownApp() Handles Me.FormClosing 'blah blah save etc End Sub How would I do this in a console application, and is it possible? Thanks.
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 2 replies
- 2.7k views
So I was trying to use the orderby method in LINQ to sort some data. It requires the actual property name to use so you end up with code like this. var items = from item i in items where i.Property.Contains("value") orderby i.AnotherProperty descending select i If you use a gridview you can't use the e.SortExpression to dynamically sort. unless you write a LINQ query for each possible column. So after huting around on the internet, I ended up with this, which allows you to dynamically sort based on object property names. var items = from item i in items where i.Property.Contains("value") orderby i.GetType().InvokeMember("SortProperty", Syste…
Last reply by Nate Bross, -
-
-
- Administrators
- 1 reply
- 2.7k views
I'm having trouble initializing a DirectX.DirectInput custom class Keyboard, I keep getting this error: "DLL 'C:\WINDOWS\assembly\GAC\Microsoft.DirectX.DirectInput\1.0.2902.0__31bf3856ad364e35\Microsoft.DirectX.DirectInput.dll' is attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since doing so can cause the application to hang." Using Visual Studio 2005
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 3 replies
- 927 views
Is there another way to list files? As it wont let me remove from the listbox using datasource Private Sub cmdRemove_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdRemove.Click If lstDisplay.SelectedIndex <> -1 Then lstDisplay.Items.RemoveAt(lstDisplay.SelectedIndex) End If End Sub Private Sub cmdSearch_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdSearch.Click 'Search for torrent files Dim torrents() As String = System.IO.Directory.GetFiles("C:\Documents and Settings\Sam\Application Data\uTorrent", "*.torrent") 'Display found files lstDis…
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 3 replies
- 645 views
Hi, I start a new thread this way: Dim Threads As New Thread(New ParameterizedThreadStart(AddressOf ConnectThread)) Threads.Start() However, from within this thread, I enable a timer, but the problem is that when this thread finish, timer is disposed as well. How can I enable a timer from a thread, is it impossible? Please help me. Thanks.
Last reply by PlausiblyDamp, -
-
Who's Online 0 Members, 0 Anonymous, 52 Guests (See full list)
- There are no registered users currently online