Topics
-
-
- *Experts*
- 6 replies
- 1.1k views
Hi , All I have a strange question. I want to create new User control. But when I select "File -> New > Project -> Visual Basic ", there is no "Windows control library". Should I install them extra. or how I can create an user Control Thanks, Erdenemandal
Last reply by DiverDan, -
-
- 2 replies
- 914 views
Hi guys, Recently i made an app and it works very well so far ... but these days i decided to extend client part's features to remote access the data stored on server machine. Actually, all i need is when my laptop PC is located out of LAN to still able update/select/delete/insert data from within MS Access DB. I've been look around for some useful informations in order to resolve my issue but i found may different opinions ... some people says that i need to go for SQL Server and that it is the best and only solution ... also, some people claimed that i should go for web services as it's most adequate and simplest solution for me ... so, i'm wondering is there someon…
Last reply by kulrom, -
- 5 replies
- 1.1k views
hello, i am making an web application for the university, and in some places, there makes somethings in the DB, then i would like to leave the page like "suspended" and when the job is all done, then i raise an event, and render the data to the page... it is this possible??? thanks!!!
Last reply by bri189a, -
- 0 replies
- 867 views
Here's the setup: Forum software written in .net on a shared server running .net 1.1. Here's the idea: To monitor a pop3 account for incoming messages, attach them to existing (or create new) threads. Here's the problem: Since it's a shared server I can't just create a separate service to handle this (which would be the better solution IMO), so what I want to do is start a thread that will monitor that pop3 account. However I am unsure as to where in application I can do so effectively. Classic ASP had the Application_OnStart and Application_OnEnd (correct me if I'm wrong) events in global.asa that I could use. Does ASP.NET have similar events that I could…
Last reply by DimkaNewtown, -
- 17 replies
- 2.9k views
On a custom control in design mode, I have a drop-down property based on an enum. Now on my control's property grid, I want a second drop-down property based of another enum, but it would change to a different enum list based on the value selected in the first drop-drop box. For example... Public Enum A F1 F2 End Enum Public Enum B G1 G2 G3 G4 G5 End Enum Public Enum C V1 V2 V3 End Enum Property1 is always assigned to Enum A. No problem there. However, I want Property2 to use Enum B if Property1 = "F1", but to use Enum C if Property1 = "F2". Is this possible?
Last reply by JDYoder, -
- 9 replies
- 1.2k views
Alright, I'm SURE there are lots of MSDN subscribers here. (For those who don't know, Windows Vista (Longhorn) beta just came out for MSDN subscribers, along with IE7 beta. ). Let's hear about IE7 and Vista. Are they good? Are they fun? Is IE7 useful? How do they look? Does vista have too much eye-candy? Can you easily change the amount of eye-candy it has? Any cool features in Vista you want to share? How about in IE7? I'm sure everyone here is dying to hear about this stuff.
Last reply by Denaes, -
- 0 replies
- 2.6k views
I have a regular expression to aid me in extracting information from a file: (ALPHA|NUMERIC|DATE)\s+(\w+)\s+ Which extracts a type descriptor and the variable name into the cature groups. However a textline may have one or more ';' characters followed by (and/or preceeded by) whitespace which acts as a comment and hence in these cases I would like the expression not to match. Is there a way to do this without performing a seperate extra check for a ';' preceeding the part I want?
Last reply by Afraits, -
- 0 replies
- 796 views
Hi, Can anyone suggest the best way for deleting/destroying either a dataset or a datatable. I use the two methods .clear and .dispose when I am doing it but I don't think that these two command actually destroy the structure but simple remove all data from inside the structure. Mike55
Last reply by mike55, -
-
- Administrators
- 3 replies
- 1.2k views
I've been working for 2 months on visual studio 2003 with source safe 6.0 with my partner in a new web application. After we managed to synchronize our work with source safe, I decide to upgrade to visual studio 2005. The main reason was the new tool that allow us to auto-generate resource files. This tool is supposed to loop through all controls and insert texts into the resource files it creates. The problem I had with vs2005 is VSS. Visual source safe desn't seem to work no more in vs2005, am I right? The new source control is «team fondation». I just can't manage to understand how team fondation server is supposed to work. Actually, I understand how the client work…
Last reply by utilitaire, -
-
- 0 replies
- 798 views
Hi, How can I turn off my pocket pc with c#.net or vb.net? I only found embedded visual c++ samples: -------------------------------------------------------------------------- // // Switch off a Pocket PC // #include "stdafx.h" int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow) { // Send keypresses that mean power off keybd_event(VK_OFF,0,KEYEVENTF_SILENT,0); keybd_event(VK_OFF,0,(KEYEVENTF_KEYUP|KEYEVENTF_SILENT),0); return 0; } --------------------------------…
Last reply by juvi, -
-
- Administrators
- 5 replies
- 1.3k views
Hey, I am trying to read info that I have stored in a ms access file. I have a module and a form. below is the code that I am currently using. It is not reading form the database and I am not sure why... if anyone can take a look at the and tell me what I have done wrong then that would be great... thanks. Module: Public rs As New ADODB.Recordset Public con As New ADODB.Connection Public agentController As AgentObjects.Agent Public agentCharacter As AgentObjects.IAgentCtlCharacter Sub load_data() con.Open("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Application.StartupPath & "\Database.mdb;Persist Security Info=False") …
Last reply by silver83, -
-
- 1 reply
- 794 views
Hi guys, I have little experience with remoting and now am trying to build an app. using .net remtoing. And now I am stuck on using whether marshal-by-value or marshal-by-reference I have read Rockford's "Expert One-on-One Visual Basic .NET Business Objects" and in his framework he used marshal-by-value object. From his book... OK, that means I will potentially pull A LOT objects across the network when I try to get a, say a customer, object. My question is is this possible to lazy load some references instead of load EVERYTHING at once when serializing the customer object? Do I need to code a lot to handle this? Any resources will be great. Thanks. :) …
Last reply by Joe Mamma, -
- 7 replies
- 2.2k views
I´m using the code below to load a .x file, but can´t figure out how to load the textures from the X file. :confused: Plz help me with som code snippets showing how to do this. Mesh = Mesh.FromFile(Application.StartupPath & "/Map.X", MeshFlags.Dynamic, obj3DDevice) MeshMaterials = New Material MeshMaterials.Ambient = Color.White obj3DDevice.Material = MeshMaterials MeshTextures = TextureLoader.FromFile(obj3DDevice, Application.StartupPath & "/texture.bmp")
Last reply by Knight Chat X, -
- 2 replies
- 1.7k views
This may not be the best place to ask this but I looking for some tips or even source codes regrading backtracking algorithm on Magic Square (4x4). Where can I obtain any information on this backtracking algorithm in C# or VB.Net? Thanks in advance.
Last reply by DreamKid, -
-
- Administrators
- 2 replies
- 2.7k views
In VB.Net, we use "imports Project.NewClass" to link the classes together. How do I do that in C# as I'm not familiar with the namespace concept. Thanks in advance.
Last reply by Jaco, -
-
-
- *Experts*
- 24 replies
- 2.3k views
This discussion come up every day at SlashDot, but I wanted to ask people who are using this forum what they think about it. To get the feel of developers like me who needs help sometime... Imagine a world where bubble sort is patented.... (not the best but probably the most used sort method due to it's simplicity[in beginers program anyway]) I am completly againts it, but maybe I should not count since I love Open source? Anyway what do you think about software patent?
Last reply by mskeel, -
-
A previous developer created this page using FrontPage 2003. I know you cannot have an empty dataset. Is there anyway around this problem in VB.net and aspt.net http://www.xtremedotnettalk.com/newthread.php?do=newthread&f=62# Confused Operator is not valid for type 'DBNull' and type 'Date'. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.InvalidCastException: Operator is not valid for type 'DBNull' and type 'Date'. Source Error: Line 25: end select Line 26: if not …
Last reply by mark007, -
-
- Administrators
- 4 replies
- 763 views
How can I implement C# and VB.Net in a same project?
Last reply by VagabondSW, -
-
- 0 replies
- 1.2k views
I want to use the select command on my datatable to select a subset of rows that match my criteria. However, I'm having trouble. Here's my code: DataRow [] dra = myDataSet.Tables["Tasks"].Select(select); select = (DueDate>Format('1/1/1','yyyy/MM/dd') And Due_Date<Now() And Completed=False) Or (Completed=False) I get the following error message though: "The expression contains undefined function call Format()." How can I check if my DueDate column is set to the default 1/1/1? help please?
Last reply by kasdoffe, -
- 1 reply
- 1.8k views
Can someone plz help me? I have created an application that runs great on the system that I built it on but when I package and deploy it on a different system it won't launch. Generally when this happens I have identified issues with things such as static connections to a database in a directory that doesn't exist on the other system or something like this. However, I don't receive any type of error like that and I am certain that all the files required for the program and their dependencies have been included in the package. The installation on any other system runs seemingly flawless without error but when I attempt to launch the program it crashes immediately wit…
Last reply by mhildner,
-
Who's Online 0 Members, 0 Anonymous, 67 Guests (See full list)
- There are no registered users currently online