Topics
-
-
- Administrators
- 1 reply
- 893 views
Hi. I have 2 web applications that share users. Only one of the apps is currently .NET 2.0 and I need the .NET 1.1 app to add users to the aspnetdb tables for the .NET 2.0 app to read. The Membership and Roles classes both have a scope of the app they are called from within, so the application you want to add the users to is not a parameter. I can call the stored procedure dbo.aspnet_Membership_CreateUser directly but am wondering if there is a cleaner solution such as another class I'm not aware of. Thanks!
Last reply by PlausiblyDamp, -
-
- 3 replies
- 1k views
Again 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 (the same as the previous post incase you are following the story ehehe) is now getting prompted with a Windows Security Warning message (as pseudo-shown beloW) when he double-clicks on the executable..? Open File - Security Warning The Publisher c…
Last reply by MrPaul, -
- 0 replies
- 2.2k views
hi all , i am doing an app to send and recieve faxs using c# 2005 in XP and i need to know how can i recieve a fax,i did the sending fax part but i dont know how to recieve ? SO can anybody give me a hint or a sample of code or any links to do that, i am using the FAXCOMLib.dll . and i want to know if there a deffirence between the FAXCOMLib and FAXCOMEXLib and if yes which one you recommend to use, and from where i can get this FAXCOMEXLib. thanx 4 all and hope to see helpfully replys soon
Last reply by ahmedelmassry, -
- 1 reply
- 695 views
I am a Pastor and I am writing a Church membership addressbook using xml as my database.... What I have at the moment is this... I have a Datagridview of which I can read and edit and save back to the xml file. However, I am not really a fan of the DataGrid view at least for my address book. So, I have created a form that has Labels and textboxes on it of which I can display the specifc members names and any data related to them within these textboxes. But what I havent found via online or here yet is how I might edit that information displayed in the textboxes and save it back to my xml file like I can in the datagridview. Here is an ex…
Last reply by vbMarkO, -
- 3 replies
- 963 views
i wonder if there is a simple xpath query to retrieve a list of book IDs whose note's Descendants evaluates a dynamic condition to be true. to make it simple, consider the following XML. <BOOKS> <BOOK ID='1234'> <CATEGORIES>1,2,9</CATEGORIES> </BOOK> <BOOK ID='2333'> <CATEGORIES>2,7,8</CATEGORIES> </BOOK> <BOOK ID='5555'> <CATEGORIES>1,7,8</CATEGORIES> </BOOK> </BOOKS> Dim sRule1 as String = "(contains//CATEGORIES, '2')" Dim sRule2 as String = "(contains//CATEGORIES, '8')" when sRule1 is used, IDs '1234', '2333' would be returned. when s…
Last reply by Igor Sukhov, -
- 1 reply
- 698 views
I was wondering if a program was written in Borland C++, If I could take the code files and read the code in .Net? Thanks,
Last reply by mskeel, -
-
- Administrators
- 16 replies
- 16.3k views
hi, i have some dos txt files and i want convert all char (in ascii mode) to unicode char and show them to win forms. how can i convert ascii char to unicode? ascii code: ù÷�،¤�î thanks
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 1 reply
- 23.4k views
As you can tell, I am very new to C# programming. Can someone point me to an example for how to write the C# equivalent of the below line? For X = FileLen To 1 Step -1
Last reply by PlausiblyDamp, -
-
- 6 replies
- 1.1k views
Hi all, I've a problem with a MDI Environment application and maximize functionality. I set my main form as IsMDIContainer = true, but my MDIChild forms don't stay as i wish. Everitime i load a form it resizes itself and stays maximized, unexpectedly. Any suggestion to stop this? PS:I tried already some suggestions i saw here in other posts, but doesn't worked Thanks in advance Tiago Teixeira
Last reply by mjb3030, -
- 2 replies
- 972 views
I need to upgrade some VB6 code. The old VB6 code contains a chart using the MSChart Control. Can someone guide me to a sample to help me recreate the chart using VB.Net without using an office chart control. I have attached a sample of the original chart. Thank you
Last reply by kcwallace, -
- 2 replies
- 1.8k views
I have this weird thing going on when my Child Forms open. BUT, not all the time. There is a minimize, maximize, and close button that shows up in the MenuStrip. How do I prevent this? http://rhanv.com/Kellys/Form.gif If I press the Maximize button the choices go away and the form fills the correct space. I have also noticed that on occasion the Child Form will load too high up in the Child form area. Any idea what the problem is? Thanks a bunch.
Last reply by kservice, -
- 1 reply
- 4.5k views
I'm trying to set up a currency value column in a DataGridView (2005) and I'm following examples from Microsoft on how to do this, but the currency formatting is being ignored. Here's how the samples (from Microsoft) indicate how it's done: Dim col As New DataGridViewTextBoxColumn() col.DefaultCellStyle.Format = "C" 'also tried lower case "c", but no luck ... <other properties such as header text etc.> ... MyGrid.Columns.Add(col) But when values are set on that column, they appear as plain numbers, not currency (i.e., no '$', no comma, etc.).
Last reply by mjb3030, -
-
- Administrators
- Leaders
- 1 reply
- 1.9k views
The code sample at http://www.xtremedotnettalk.com/showthread.php?t=85719 must have been written before formatting was implemented for CS tags. Formatting tags are visible within the C# code. And here: http://www.xtremedotnettalk.com/showthread.php?t=86021. And maybe more of dynamic_sysop's code samples.
Last reply by PlausiblyDamp, -
-
-
- Leaders
- 0 replies
- 10.6k views
The Problem Using reflection, you can manipulate almost any aspect of any object in a completely dynamic manner. However, when implementing a .Net based automation or scripting software it becomes painfully obvious that event handlers can not be attached dynamically unless a function with the appropriate signature already exists, which is hardly dynamic at all. There are two solutions to this problem. Solution: Delegate Contravariance Delegate contravariance is the creation of a delegate where the target method has at least one argument whose type derives from the corresponding argument's type on the delegate type declaration. For example, examine the following C# co…
Last reply by snarfblam, -
-
-
- Leaders
- 7 replies
- 4.1k views
Hello again, I posted a thread about a cpu mystery and while I wait to see if I can get more input on that I have a different question. I have looked on google and I can find NO relative information on this. I have an image. I have a four points, I want to draw that image stretched out to those four points. i tried using DrawImage under Graphics, passing it four destination points using the order given (upper-left, upper-right, lower-left, lower-right), but I get a "Not Implemented." exception. If i take off the last point and only pass the first 3 points, it works, but omitting the last point makes for inaccurate drawing. Anyone know where I can get some…
Last reply by FunUsePro, -
-
- 2 replies
- 610 views
VS 2005 sometimes runs pretty slow and I'm wondering if my 512 MB of RAM is enough. Suggestions?
Last reply by Denaes, -
-
- Administrators
- 1 reply
- 1.7k views
Hi all I have two web sites in IIS, one is Default Web Site, and the other is my own site called testSite. I have run the installation file for my web app and installed on the Default Web Site as usual. My application is called myTestApp. I have set the home directory of the site testSite to the following location: C:\inetput\wwwroot\myTestApp. If I go to the web browser of my application and type http://localhost/myTestApp/index.aspx, the page loads correctly, however if I replace the localhost with the actual IP address of the web server, IIS tries to go to the following location: 'C:\Inetpub\wwwroot\myTestApp\myTestApp\ Can anyone suggest a solution to this…
Last reply by PlausiblyDamp, -
-
- 0 replies
- 717 views
I want to declare global variable in one formula editor and access that variable in another editor. How can I do that in crystal reports.
Last reply by imranIBM, -
-
- Administrators
- 11 replies
- 1.8k views
I've read this post: http://www.xtremedotnettalk.com/showthread.php?t=76924 and have successfully created a thread without using the backgroudnworkerprocess doing this Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click Dim DBSyncThread As Threading.Thread Dim DBSyncThreadStart As New Threading.ThreadStart(AddressOf DBSync) DBSyncThread = New Threading.Thread(DBSyncThreadStart) DBSyncThread.IsBackground = True DBSyncThread.Name = "DBSync" DBSyncThread.Start() End Sub Private Sub DBSync() MsgBox("ehasdf boogieman") Functions.LogError("boogieman")…
Last reply by robplatt, -
-
- 0 replies
- 802 views
I Have a FormView and an insert template. I need to validate the input (using the Inserting event). What is the syntax for accessing each column in a data row ?
Last reply by snufse,
-
Who's Online 0 Members, 0 Anonymous, 62 Guests (See full list)
- There are no registered users currently online