Software Development Network Logo
  • Microsoft ISV
  • Audio and Video
  • SharePoint Products
  • Visual C++
  • Windows Forms
  • SQL Server
  • Windows Vista
  • .NET Development
  • Visual Basic
  • Visual C#
  • Smart Devicet
  • VS Team System
  • Visual Studio
  • Game Technologies
  • IE Development

Software Development Network >> ivanchain's Q&A profile

ivanchain

Member List

Risker
Callum
Sideout
enric vives
KluchCode
Hanspeter
mattdawg
interpro1
barkingdog
The DJ
Drake1500
Manuel5
SWGuy
Andre's
pfd
zhihao
tee_user5
Nigel123
billqu
Helmut Leitner
Only Title

ivanchain's Q&A profile

  • .NET Development Data Access Layer - Design

    Hi I have been reading a few of the recent tutrials on 3 tier design (Data/Business/Presentation). In My database i have a customers table, employee tabel, supplier table and an address table which has either a customer, employee or supplier foreign key. In these tutorials it says that each database able should only be access by 1 data access layer class. If this is true then how is it possible with this database stucture, for example my Orders DAL needs to know about an address because each order has a billing, and send to address. But also my Customer DAL needs to know about address as each customer can have many address's Thanks lee Hi jshelper So these clases you have made here are these your DAL classes or your BL ...Show All

  • Visual Studio could i save the crystal report that i have created as template in vs.net?

    Hi, Could i save the report as template in .net how to do ...Show All

  • Visual C# how to convert current date to number of seconds since 1970

    Hi all, May I know is there a function that can convert the current date (yyyy/MM/dd) to number of seconds since 1970 Thanks Hi, bslim Here is the function:         public int calculateSeconds()         {             DateTime dt = new DateTime (1970, 1, 1, 0, 0, 0, 0, DateTimeKind .Local);//from 1970/1/1 00:00:00 to now             DateTime dtNow = DateTime .Now;             TimeSpan result = dtNow.Subtract(dt);      ...Show All

  • Visual Studio Express Editions Filtering a datagridview with more than one criteria

    I have a datagridview with 4 columns that I need to filter based on 4 textboxes on another form. The following is code that works using just one of the text boxes: CatalogBindingSource.Filter = String .Format( "Year='{0}'" , Tracking_List.Year.Text) My question is, what is the correct format to include the 3 other textboxes (called Make, CardNumber, and Condition) so the datagridview is filtered based on Textbox1 AND Textbox2 AND Textbox3 AND Textbox4 The names of the other columns in the datagridview are the same as the textbox names on the Tracking_List form. Thanks, John Thank you! Worked perfectly! I knew I needed the 'And' operator, but I didn't know the exact syntax of the en ...Show All

  • Visual Basic designer.vb file not associated with vb file it is a partial class for.

    I couldn't find the general Visual Studio forum... My application runs fine in Visual Studio after creating a new solution but when I open up Mainform.vb the controls aren't showing up on the form. I normally see the plus sign for the Mainform.vb and then when I expand it, I can see Mainform.designer.vb and Mainform.resx under it. Not sure what happened in this transition process from one solution to another. Here is what I did. Before checking a solution into SourceSafe I wanted to clean it up and get rid of unneccessary files and projects used in prototyping. I created a new Windows Forms Project. In the folder created under Documents and Settings\Visual Studio 2005\ Projects\New Project, I pasted into that folder all the fil ...Show All

  • Visual C++ variables in dll

    This is my code, for(int ii =0;ii<2;ii++) { Datasources[ii].hLib = LoadLibrary(MyDll.dll) Datasources[ii].fun1 =(SCODE (*)(void *))GetProcAddress(Datasources[ii].hLib, "Fun1"); Datasources[ii].fun2=(SCODE (*)(void *))GetProcAddress(Datasources[ii].hLib, "Fun2"); Datasources[ii].fun3 =(SCODE (*)(unsigned long,void *))GetProcAddress(Datasources[ii].hLib, "Fun3"); } I am using LoadLibrary to load the DLL. In the above case is the data Variables in dll will be seperately created each time we use LoadLibrary function to load a DLL yes it's declared in cpp and its extern in header, so if i use loadlibrary to load my dll, for diffrent threads in a application, mor ...Show All

  • Visual C# I need help...

    Hi, i have this error which i couldnt solve. I cannot access ADMINHome.aspx and USERHome.aspx web form. And my webform are behind a master page. Anyone can help <% @ Page Language ="C#" MasterPageFile ="~/Site3.Master" AutoEventWireup ="true" CodeBehind ="USERHome.aspx.cs" Inherits ="TrekItWeb.USERHome" Title ="Untitled Page" %> <% @ Page Language ="C#" MasterPageFile ="~/Site2.Master" AutoEventWireup ="true" CodeBehind ="ADMINHome.aspx.cs" Inherits ="TrekItWeb.ADMINHome" Title ="Untitled Page" %> string role = DBAgent.validateLogin(UserName.Text, P ...Show All

  • Windows Forms How to do tracing logs ??

    Hi, How can I add tracing log in my application Is there any .net specialized class or some property that logs tracing data automatically or would I have to manually do it by writing strings to a file using System.IO.FileStream and StreamWriter Thanks, EventLog class will log message in system's event viewer with some additional information such as timestamp, event id, event source, etc. http://msdn2.microsoft.com/en-us/library/system.diagnostics.eventlog.aspx ...Show All

  • Smart Device Development Delete Call History Phone via c#

    Hi, I need to delete partial Call History (missed, in, out) Phone via C# on Pockect PC. How can I make Thanks This forum is intended to deal with issues directly related to the .NET Compact Framework. It appears that this question can better be answered by someone on one of the newsgroups for Windows Mobile or Windows CE. In order to get a quicker and more accurate response, please consider reposting this question to one of the following newsgroups: Windows Mobile API : microsoft.public.pocketpc.developer microsoft.public.smartphone.developer Windows CE API : microsoft.public.windowsce.embedded General programming (not VisualStudio related) : microsoft.public.windowsce.emb ...Show All

  • Visual Studio Team System Problem with Sharepoint using HTTPS in with Remote TFS

    HI, I have a dual server installation for TFS, I exposed to Internet and I configured the web server with HTTPS and SSL access. I have access to the projects, source control and work items, but I can Add new Team Projects, and the project portal is disable. the Documents and .... are not accesibles. I can have access to sharepoint either ( I suppose that it is because the same problem ) Can somebody help me. Thanks an advance, Roy What I have to check Should those fields (the urls returned by the web service GetRegistrationEntries) have the values pointing to the internal url or the external one. What those fields should have configured Another question, Which sites I should publish on the ISA Server Thanks ...Show All

  • Visual Studio Express Editions convert ms-dos console application to windows application

    I have a single application using console in C# . When I run my application, it is running in dos window. I want to convert this application to windows application. I mean, when I start application, It must be work a windows application. Do You know any simple way to do this Is there any convert application Thanks.. you cant quite convert the application since you would be writing really to the console and accepting inputs via the console. you could try changing the output type in the project properties to Windows Application - this will bring up the Windows application form. You need to also in the program.cs file, class file, need to run the form... Application.Run(new Form1 ()); ...Show All

  • Visual Studio Tools for Office Rules

    I am writting a outlook addin and wish to get the rules the user has created. How do I do this thanks Ralph Hi, Since this is a Outlook Object Model related question you will be able to get a better response if you posted the query to the Outlook DL below: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.office.developer.outlook.vba&lang=en&cr=US Thanks. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Recompile

    These files are very simple in structure, and it wouldnt be hard to write a converter. Heres how it goes: {       String version (i.e "1.0.0.0")       String originalFile (i.e "E:\dev\xna\source\starterkits\SpaceWar\media\projectiles\pea_proj.x")       Int32 triangleCount       Int32 vertexStride       Int32 vertexStart       Int32 vertexCount       Int32 batchCount             (for each batch)             {   &nbs ...Show All

  • Audio and Video Development New HD DVD players

    Toshiba recently announced new HD DVD players, the cheapest one is $499. But unfortunately True HD tv's are still very expensive. BTW anyone knows if they support persistent storage, or do all hd dvd players have this as default and how much http://www.hardwarezone.com/news/view.php id=5455&cid=5 To my mind, all HD DVD, now, have not a real special feature of HDi. I saw 2-3 years ago at Ceatec or CES of real "Advanced Content": - 3D games - Web link to webshop. - Menu refresh by the web (filmography of actor) I have 50 HD DVD and I don't see this on HD DVD. (I think this special feature will come). Our first HD DVDs will have the basic feature : teasers and basic filmography. And t ...Show All

  • Visual Basic My.Savings.Save Saved to wrong User! Installer Problem?

    I have three user settings which are defined at the project level in the Settings grid. As usual, I save them just before exiting the app. Everything was going great until we tried deploying. It all worked fine until we exited the application where we got the following message: Failed to save settings: An error occurred loading a configuration file: Could not find part of the path "C:\Documents and Settings\administrator\Local Settings\Application Data\Security Editor\SecurityEditor.exe_Url_wxpu5uaxzzhs2u It gets cut-off after that but it looks wrong to me because it's trying to save to the administrator's space but this app was run by another user. It was however, installed by the administrator. But it was installed with the &q ...Show All

©2008 Software Development Network