Topics
-
-
- Administrators
- 2 replies
- 1.6k views
I want to compile a C# program from the command line that (my understanding) requires a reference to system.data.OracleClient.dll How do I add that reference at the command line? I tried the following which didn't work csc /reference:OracleClient.dll program.cs
Last reply by redss, -
-
- 0 replies
- 747 views
I have 2 applications written in VB.NET for pocket pc 2003. Neither is complicated and each one runs perfectly. Problem is, I can't run them at the same time without getting a 'TypeLoadException' when starting the second one, regardless of which it is. I have set every reference in each project to "Local Copy" and it still happens - what's going on? Thanks. :confused:
Last reply by reddypa, -
- 6 replies
- 1.7k views
Hi all Is there a way to verify Webservice url if it's exists or not? I have a situation that I have to verify webservice url retrieved from config file before calling Webservice. Thank you..
Last reply by goodmorningsky, -
-
- Administrators
- 4 replies
- 992 views
Hi there, An application I work with runs on a MSDE database. I have written an commandline application that creates a database table is this MSDE instance and loads it up with data from a CSV file. Now the problem is that when creating the database table , this table also 'inherits' the user schema of the already existing database. This is unknown to me, but resolves in the fact that the users that accesses the newly created database need to be a local administrator on that machine to acces the data. Now I want to expand my commanline application with the possibilty to create an new MSDE instance with it's own security schema. Can some on help me along the way. It need…
Last reply by feurich, -
-
-
- Administrators
- 3 replies
- 991 views
Hello friends, Now I know that we can enclose a bunch of SQL queries (CommandText of Command object) in a transaction context. That way, if any of the queries fail, the entire transaction is rolled back. The command object allows us to do that. Now, my problem is that I have a bunch of methods, each one of which in turn fires a stored procedure to achieve the above functionality (multiple operations on DB). I call these methods one after other and all of these DB operations take place in a particular order. Now, is it possible that I can enclose this entire set of method calls in a transaction context? In the sense, all the stored procedures that are fired should be roll…
Last reply by HJB417, -
-
-
- *Experts*
- 8 replies
- 2k views
I have a treeview in my ASP.NET application. Here is the code to populate the tree Private Sub PopulateTree() If Not IsPostBack Then Dim strConnectionString As String = "Server=localhost;uid=sa;password=;database=CrystalDevelopment" Dim strSQLRoot As String = "SELECT DISTINCT(GroupName) FROM CrystalReports" Dim strSQLChild As String = "SELECT GroupName,ReportName FROM CrystalReports" Dim cnn As SqlConnection Dim cmRoot As SqlDataAdapter Dim cmChild As SqlDataAdapter Dim ds As DataSet Dim rowRoot As DataRow Dim rowChild As D…
Last reply by TheWizardofInt, -
-
- 1 reply
- 1.7k views
I am using the treeview control from MS I can make the demo work, but when I run it, I get a horizontal line, instead of a tree. It looks like I am missing a style sheet or something - anyone ever seen this before?
Last reply by TheWizardofInt, -
- 1 reply
- 892 views
Hi, I'm trying to adapt a rating system i found on the web at codeproject.com in order to rate websites on an RSS feed website. I have set up a database on sql server, with 2 tables: RatingSystem - which has ratingId, rating, ip and feedId Feeds - which has feedId and feedName I have the following .net code: <html> <head> <script runat="server"> Private intPageID As Long =1 Sub Page_Load(Src As Object, E As EventArgs) Dim intApprovalWidth, intBlankWidth as Integer Dim strQuery as string Dim strCon As String Dim conMyConnection as New System.Data.SqlClient.sqlConnection() Dim cmdMyCommand as New System.Data.SqlClient.SqlCommand() Dim dtrMyData…
Last reply by fizzled, -
- 3 replies
- 2.4k views
Hello, I need an example on how to use CreateProcessasuser or CreateProcesswithLogonW. I would like to hardcode a user/password into a vb.net program (trusted and secure environment) so that I can have trusted people run cpl files (control Panels) as the local administrator, without knowing the password. For Example, I would like my program to execute the system control panel as the local administrator automatically. Here is the code I have to start the system control panel so far: PrivateSub cmdSystem_Click(ByVal sender AsObject, ByVal e As System.EventArgs) Handles cmdSystem.Click Winpath = System.Environment. _ GetEnvironmentVariable("SystemRoot") Fname…
Last reply by mskeel, -
-
- *Gurus*
- 7 replies
- 1.5k views
Sorry to bring this topic up again. I hope you could help me on some problem, since you had ever one chinese application. Here is my problem: 1. I had developed my software application using vb.net. 2. My databases is by using Microsoft Access XP. Which I key in all the data into the databases using IME. 3. When I deploy my system into Windows 98 or ME, it happens that IME is not workable with my system. 4. So, I am wondering how to make my system workable with IME in Windows 98 and ME. *For those who don't know, IME: Input Method Editor Thanks in advance.
Last reply by Derek Stone, -
-
- 1 reply
- 3.1k views
i have an arraylist of a vector object that i creted myself. I am adding new vectors to this list, but i want to check if they are in the list already. they are supposed to be compared on the x and y co-ordinates of the vector. if i override the Equals method of the vector class , as shown below, will i be able to use the arraylist.Contains to see if the arraylist contains the vector about to be put into it? public override bool Equals(object obj) { //return base.Equals (obj); Vector v = (Vector)obj; if(this.Xval == v.Xval && this.Yval == v.Yval) { return true; } return fals…
Last reply by HJB417, -
- 2 replies
- 903 views
Hello: From a web form I�m sending to execute a function contained into a class, code in web form is: bool que = WUC_CreDes.Class1.Hay_PostBack(this, w1,w1cx, w1ID, w2, w2cx, w2ID); In class code is: public static bool Hay_PostBack(WUC_CreDes.WebForm1 parent1, string w1, string w1cx, string w1ID, string w2, string w2cx, string w2ID) { string cual = ""; cual = HttpContext.Current.Session["par1"].ToString(); parent1.Example.Controls.Clear(); if(cual == w1) { Control control = parent1.Page.LoadControl(w1cx); control.ID = w1ID; parent1.Example.Controls.Add(control); } else { Control co…
Last reply by see07, -
- 0 replies
- 1.5k views
Does anyone know how to prevent Outlook folders from being dragged or accidently deleted?
Last reply by bokaraton, -
-
- Administrators
- 1 reply
- 911 views
In VB6, it was possible to tell a program to wait for a specific time period, I am attempting to do the same again in asp.net/vb.net, but with no success. Anyone got any suggestions on how to overcome?? Mike55
Last reply by PlausiblyDamp, -
-
- 1 reply
- 1.5k views
hi i have a string in RTF format how can i read it correctly? do i need activex? if yes which one? thanks a lot.
Last reply by Dill, -
-
- Leaders
- 13 replies
- 1.5k views
I have a control I'll call GameBoard, which contains numerous 4-100 (right now) controls. This is set as a property in GameBoard and they're always amounts that are equally squared: 4, 9, 16 - which would translate into 2x2, 3x3, 4x4 grids when displayed. Obviously this lends incredibly easily to a 2d Array. So I tried this 2d Array for like 45 minutes and couldn't get it to work. I followed the MSDN and an example on this site I found searching and nothing. I tried to declare the array with my other private class level variables outside of a procedure: private arrGrid(,) as GridSquare Then: Sub New() ' TotalSqrt is the SquareRoot of the number of…
Last reply by Dill, -
-
- 6 replies
- 849 views
I currently doing a resource scheduling wed application. The user will enter all the time slot take already taken for the day. I required to using the time given, generate a time table with which show available time slot in blue and other taken time slot with red. I'm totally clueless about how and what kind of function of control I can use to help me.
Last reply by Dill, -
- 1 reply
- 868 views
Hi all Have an Http statement that when entered in the browser, it returns a specific value, a string in this case. Now i am trying to implement it in such a way that this would be done when I click a button on a web form, and the result would be returned to a specific variable. Have looked at Http Request and response types, but no luck so far...any suggestions welcomed. Here is the Http line that is entered in the browser... http://api.clickatell.com/http?auth?api_id=xxxx&user=xxxx&password=xxxx
Last reply by mike55, -
- 25 replies
- 13.3k views
Does anyone know why I get the following error when I try to view a web form with a CrystalReportView control? Server Error in '/WylePricingSystem' Application. -------------------------------------------------------------------------------- Load report failed. 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: CrystalDecisions.CrystalReports.Engine.LoadSaveReportException: Load report failed. Source Error: The source code that generated this unhandled exception can only be shown when comp…
Last reply by igoro1975, -
- 3 replies
- 843 views
Hi, I want my GUI to be responsive even if the app is waiting for a temperature to be set. I guess I should be using some callback or async function but I'm not sure how and which function to use. This is my idea of work flow ' Set temp +60° ' Wait for temperature to be stable while temp>-20° ' Do Magic! ' Order temp Change -2° ' Wait for temperature to be stable loop There are two places in the loop where I need to wait, the first where I wait for the referece temperature to change and the second where I need to wait until the our temperature sensor reports a stable temperature. Any help appreciated! TIA /Kejpa
Last reply by kejpa,
-
Who's Online 0 Members, 0 Anonymous, 91 Guests (See full list)
- There are no registered users currently online