Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
D

drc_no1

@drc_no1
About
Posts
31
Topics
17
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Sql Server
    D drc_no1

    Sorry for the late answer, but was not in town for a day. The thing is that my friend doesn't have an instance of sql 2005 installed on the system. plus, i think the connection string would change (sql 2005 express accepts only files to be accessed as far as i remember; i've worked only a little with 2005 because i had some conflicts on my pc so i had to reinstall all the system and...). Thanks a lot. If professional doesn't solve it, i'm gonna take all the database to 2005. Thanks again, Catalin David.

    Database database help question csharp sql-server

  • Sql Server
    D drc_no1

    completely means anything else than start->control panel->add/remove programs-> uninstall visual c# express edition?

    Database database help question csharp sql-server

  • Sql Server
    D drc_no1

    oki... will try this. again. just got visual studio 2005 (complete, not express) ... so... will install that, i hope. wish me luck, fingers crossed! thanks a lot!

    Database database help question csharp sql-server

  • Sql Server
    D drc_no1

    i am using sql 2000. my friend has sql 2000 installed. the problem is that (local) points to sql 2005. and i think that is because of vc# express edition which connects mainly to sql 2005. but i want sql 2000. sorry for the confusion.

    Database database help question csharp sql-server

  • Sql Server
    D drc_no1

    Hello again! I'm rather new to what SQL means and does (many new "stored procedures"-words for me lately). So, just the other day i ran into a problem. I designed a program which connects to a SQL Server 2000 Database. And it works just fine on my computer. Still, one of my friends wanted to test the application. I gave him the database files and registered them with SQL Server 2000 (attached to server). He also had VC# Express Edition installed (i think this is the cause and an important clue). When running the .exe, while trying to connect to the databases, he receives an error message which says that there is no connection available for SQL SERVER 2005: An error has occured while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server( :omg: :confused: ). Then, i tried the other way around. I gave him the code of my application, made him run it... and... another error: Cannot open database requested in login 'Consulting'. Login fails. Login failed for user 'GABRIELA\gabi'. I understand that there are users... and i can't synchronize them... but, how do i allow my database to be accesed on any computer with SQL Server 2000 installed on it? the connection string in the program is: Thanks a lot in advance, Catalin David.

    Database database help question csharp sql-server

  • Distribution of software
    D drc_no1

    Hi! I'm rather new to programming db, so... sorry if this may sound stupid. I am using C# to create a program which does some operations with a database (basically, the project helps me better get along with databases). The .mdf file and .ldf file reside in C:\DATA\ . And on my computer, things go along smoothly. Still, when i tried to distribute the application to a friend, i realized that i haven't build the application for anybody but me because he doesn't have the .mdf. So, he installed sql server (2000, just like mine), has put the files in C:\DATA, but he still gets an error. I know the error comes from the fact that the database is not attached to his server (asked a few friends) and i know that i must use sp_attach_db function. The problem is that i don't know whether each time the program is run i should run this function (because if you run the program 2 times i think it gets an error) and, more important, i don't know how to really implement this function (haven't found any tutorial yet). Another important thing is the connection string to the database. On my computer it is: connectionString="Data Source=DRC;Initial Catalog=Consulting_co;Integrated Security=True" providerName="System.Data.SqlClient" //from app.config as far as i know, datasource indicates the name of the sql server and this name must modify when the program is run from another place. Please, help!

    Database database help tutorial csharp sharepoint

  • Get keys
    D drc_no1

    System-wide, that's the problem. Because on the application would be quite easy. But i don't know how to implement it system-wide. Thanks a lot!

    C# csharp html

  • Get keys
    D drc_no1

    Hello! I'm trying to do a program that logs all the key presses of the keyboard. The application runs smooth (VisibleInTaskBar = false, Visible = false), but, by doing that, i lose the focus on my form. So, i would be interested if there is a way to "intercept" the key strokes from code. I've searched www.pinvoke.net -> and found this: GetKeyState, but, unfortunately, i wasn't able to implement this. I've also searched the articles, still... nothing relevant to this ... GetKeyState method or ways to implement it. Thanks a lot, Catalin David.

    C# csharp html

  • Internal Chat
    D drc_no1

    Okay... it's been a while since i last posted a question here, but... now i ran into biiiiig problems. The problem i have to solve is somewhat like this: I have to design an UI which is similar to the one in Windows messenger(basic funcionality - only to send messages and files) through a local area network. Every computer on the network will have this program installed and i will have one server to configure and to transmit messages. the happy part of the problem is that the server is not my responsibility... So ... i drag a few textboxes, buttons... and i have the User Interface. I enable drag&drop for the textboxes (just like in Y!M) and... now comes the problem(s). How do i transmit the messages to the server (identified by an IP), maybe through some port? The message format is not one of my concerns, but... i guess sending data unencrypted over the web is not such a good thing (so i would need a way to encrypt data). How do i listen to some ports of the LAN for incoming messages from the server? How do i send files over the IP protocol? I think it is all about a transaction, but i have never done anything like this before (oh, i did! ... but that was on a ... serial port!). Thanks a lot for even trying to understand me! Any other ideas would be appreciated! Thanks a lot again!

    C# design question sysadmin help lounge

  • Start/stop button
    D drc_no1

    Well, my idea would be to use a variable: bool a; ... in the mouse_click event you write: if(a == true) {function_call(var1);} else {function_call(var2);} i did not quite get it what you were doing, but... if that is what you were doing, sorry. in another way i don't know.

    C# database tutorial question

  • Play audio?
    D drc_no1

    Hello! I've tried to search the posts and answers to find a possible answer to my question, but... the search page doesn't seem to work. It just says loading... Though, that is not the problem. I have a Windows based project inc C# in which i play a sound. [DllImport("Winmm.DLL", EntryPoint = "PlaySound", SetLastError = true)] private extern static int WCE_PlaySound(string szSound, IntPtr hMod, int flags); i do this and i have a perfectly working sound function. I would like to "transfer" my windows project to the web and i would really need a way to play a sound, if possible. First of all, i'm not sure what i am looking for and that's why i am asking you. With thousands of thankies, drc.

    ASP.NET question csharp help

  • Refresh?
    D drc_no1

    Hello again! I'm having some troubles with a web page. i want it to refresh every n=5 seconds. so i thought of drag&drop-ing a timer in the UI. but there was no timer. so i had to create one from code. using System.Timers; public partial class _Default : System.Web.UI.Page { Timer timer1 = new Timer(); void ini() { this.timer1.Interval = 5000; timer1.AutoReset = true; timer1.Elapsed += new System.Timers.ElapsedEventHandler(this.timer1_elapsed); timer1.Start(); } public void timer1_elapsed(object sender, EventArgs e){ } protected void Page_Load(object sender, EventArgs e) { ini(); } the problems seems to be that the elapsed event never occurs. Please help me. if you know an easier way to refresh the web page and u'd share it to me, i'd be thankful. Many thanks in advance!

    ASP.NET design help question

  • IP
    D drc_no1

    Hello! I'm new to ASP.NET and i have a tiny question. I tried to search it in this messageboard, but when i click search, it says loading for about 5 minutes and the search results won't show. And i am getting bored of waiting, so i post a new question: How can i find the IP of the computer accessing my webpage? If the computer is using a proxy, the value returned will be the one of the proxy? Thanks a lot in advance!

    ASP.NET question csharp asp-net

  • Datasets all over again
    D drc_no1

    Hello, everybody! I came to you with another problem. This time, it's about a dataset loading an .xml document and an authentification form: login. protected void Login1_Authenticate(object sender, AuthenticateEventArgs e) { dsLogin ds_login = new dsLogin(); ds_login.ReadXml(Server.MapPath("~/App_Data/login.xml"), System.Data.XmlReadMode.ReadSchema); Label1.Text = ""; for(int i =0; i the problem seems to be that the web never reaches the if-s. even thought i've set watches for both values there, nothing happened. more, at the test, i only get 1 and 2 and, instead the value at ds_login.Tables[0].Columns[2].Table.Rows[i].ToString(), i get System.Data.DataRow. Please tell me what i do wrong! Thanks in advance!:sigh:

    ASP.NET sysadmin xml help

  • New to Asp.Net
    D drc_no1

    got it... the .net version of the site was set to 1.1, not 2.0 .... THANK YOU!!

    ASP.NET csharp asp-net xml tutorial learning

  • New to Asp.Net
    D drc_no1

    THANKS A LOT!! it was useful... i compiled it and it works on localhost. still, i get an error when i try to run it remotely, on http://drcnoib.somee.com[^] . i've set the customerror mode="Off" in web.config, but i still get that error. i think the error comes from page_load event: protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { ds_Denumiri1.ReadXml(Server.MapPath("~/App_Data/Denumiri.xml"), XmlReadMode.ReadSchema); ds_Denumiri2.ReadXml(Server.MapPath("~/App_Data/Denumiri.xml"), XmlReadMode.ReadSchema); DropDownList1.DataSource = ds_Denumiri1.Tables[0]; DropDownList2.DataSource = ds_Denumiri2.Tables[0]; DropDownList1.DataTextField = ds_Denumiri1.Tables[0].Columns["Statie_Nume"].ToString(); DropDownList2.DataTextField = ds_Denumiri2.Tables[0].Columns["Statie_Nume"].ToString(); DropDownList1.DataValueField = ds_Denumiri1.Tables[0].Columns["StatieID"].ToString(); DropDownList2.DataValueField = ds_Denumiri2.Tables[0].Columns["StatieID"].ToString(); DropDownList1.DataBind(); DropDownList2.DataBind(); } } but i don't know how to find out which is the error or when it occurs. :sigh: :( . thanks a lot, anyway. -- modified at 10:24 Monday 28th August, 2006

    ASP.NET csharp asp-net xml tutorial learning

  • New to Asp.Net
    D drc_no1

    Hi! I'm verry new to asp.net, but i've worked before with C# and it's quite easy learning. one of the things i don't know is how to acces the data in App_Data folder. i have an .xml file i want to load into a dataset. the website works on localhost when i have the path set as "c:\\Project Data\\Denumiri.xml", another folder where i have my files. Still, i want to include the .xml files in the project and access them. ds_Denumiri1.ReadXml("\App_Data\Denumiri.xml", XmlReadMode.ReadSchema); Thanks a lot for your answer!

    ASP.NET csharp asp-net xml tutorial learning

  • Project
    D drc_no1

    Well, the fact is i have another project done for that exam. The thing is that i am not very sure of it's success (it's a simple idea, exploited to the maximum) and that's why i am trying something new that will sure beat the rivals and get the judges' attention. Anyway, thanks a lot! I appreciate u'r work and support.

    C# question csharp design sysadmin help

  • Project
    D drc_no1

    Hello, everybody! I've just realised that in a few days (on the 15th September) i have to present a project as an examination for certification in Informatics (still in college, but...). The only thing i lack is an idea. I thought of building an IM client, still, i have no idea how to send the messages from one computer to another (IP adresses, maybe?), so, i'll need a new idea. I know this isn't the best place to ask this question, but, C# is rather the only programming language i know. --> about the IM client: i know it must contain a background process that waits for writing from the other computer, a beggining and ending signal of the message, a user interface and... the most important thing (probably because i don't know it): a way to transmit the messages without using a server (because i don't have one and have never worked with one) <-- please, help me out! :sigh: :-O

    C# question csharp design sysadmin help

  • Running program
    D drc_no1

    Hello! I think it's a simple question, but i don't know where to start looking for the answer... I have a program which launches several processes. But, i don't want the program to launch a process if the application (the one the process is supposed to launch) is already running. My problem is checking whether the process must be launched or not. I thought searching the Task Manager, but i have no idea on how to get there. Thanks a lot!:-D

    C# algorithms help tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups