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

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

patria

Member List

Jabber
sahridhayan
Jassim Rahma
mfradkov
ELDHOSE_BABY_a06ce9
Luis Esteban Valencia Muñoz
ozhonetech
Burrough
rsri
stenis
Price Brattin
Gromey
Adriaan W
Wee Bubba
arkiboys
Steadyonabix
ALS1234
Jamie Thomson
Seth Rippee
Aamer
Only Title

patria's Q&A profile

  • Visual Basic Clock in VB

    Is there a clock that i could put into my program, either one that is already done or one tat i have to code DateTime.Now() return the current date and time... If you need an event that fire every a time interval, you can use a timer... Sub main AddHandler t.Elapsed, AddressOf TimeElapsed t.Start End Sub Dim t As New Timers.Timer(1000) 'fire event every second Sub TimeElapsed( ByVal sender As Object , ByVal e As Timers.ElapsedEventArgs) [...] End Sub ...Show All

  • Windows Forms Stored Procedure Syntax Error

    Dear All, I tried following syntax to create Stored Procedure in Access db. But, it is not creating. is there anything wrong in the syntax CREATE Procedure ProductDetail ( @ProductID nvarchar (50) , @ModelNumber nvarchar (50) OUTPUT , @ProductName nvarchar (50) OUTPUT , @ProductImage nvarchar (50) OUTPUT , @UnitCost money OUTPUT , @Description nvarchar (4000) OUTPUT ) AS SELECT @ProductID = ProductID, @ModelNumber = ModelNumber, @ProductName = ProductName, @ProductImage = ProductImage, @UnitCost = UnitCost, @Description = Description FROM Products WHERE ProductID = @ProductID Thanks SELECT ProductID, ModelNumber, ProductName, ProductImage, Unit ...Show All

  • Visual C++ Can I debug???

    Hi, I worte an MFC program and compiled it in "Debug", but I compiled it in "Release" configuration. Then, I modified my code for additional functionality, but I can't debug the program anymore with "Debug" configuration. It gave me error like "Debug Assertion Failed" when I ran program in "Debug" mode. I do want to debug my program for its correctness. Do you have any idea how I can debug Thanks, vcboy It is quite difficult to see why it is giving a debug assertion by looking at the above code. To have more clarity, start your program in debug mode (Press F5) and when it shows the assertion dialog, press retry. It will go to the lin ...Show All

  • Windows Live Developer Forums Msn Live Not Working

    My msn live is not working. I turn on my computer log on and msn live does not open at the start like it normally does. I then click to open it and nothing. But when i press Ctrl Alt Delete i click the processes tab and msnmsgr.exe is their twice since i've opened it twice end one process and still it does not work. When it decides to work i sign in but it crashes when i click on it..... Please help... I know others have had the same problem.... I've tried unistalling and reinstalling and repairing but still nothing I copied and overwrote the winhttp.dll file in C:\windows\system32 and it worked wonders. ...Show All

  • SQL Server Connection Error when trying to run MDX-queries

    To learn MDX (on SQL Server 2005 dev edition) I decided to put up some sample cubes and run MDX-queries from SQL Server Management Studio. When processing the cube in BI Studio I get the following error: "The datasource , 'Adventure Works DW', contains an ImpersonationMode that that is not supported for processing operations." Fair enough, then I change the impersonationmode in the datasource to service account. It all processes/deploys well and I can browse the cube in BI Studio. Off to Management studio to run some mdx-queries. Here however I get the error: "Error (Data mining): Either the user, ######, does not have permission to access the referenced mining model, Analysis Services Tutorial, or the object does not exist." ...Show All

  • .NET Development Derived classes - how to find derived class' attributes from base class

    Hi everyone, I come from a PHP background and I'm starting a new project in C#.net 2005 (express). My question regards base classes and getting a list of attributes of the instantiated derived class from within the original base class - i.e: Have base class declare a function that will set all the attributes of the instantiated class from a provided hashtable. Pseudo-code: --------------------------------- class base() { protected populate_from_array(Hashtable in_vals) { foreach(object[] entry in in_vals) { if (entry[0] is one of the calling classes attributes) attribute = entry[1] } } } class whatever : base { public string name; } //main programming loop: Hashtable w_vals = new Hashtable(); w_vals.Add(" ...Show All

  • Visual Studio integration of clearcase in vs2003 and vs2005 behaves differently

    hi, I have some third party implementation of clearcase integration with Visual studio. It works absolutely fine in vs2003 environment . However when I try the same in vs2005 env it create some temp files by name like "~sakeaa30dc101c6e236.sln" and something similar temp files corresponding to few more files. I do not understand why thes files get created. The properties say "Temporary file created by Visual studio to test clearase capabilties.." These files create problems when I add one more project to same place and try checking in. the project is registered by string "MSSCCI:clearcase" as SCC provider well there are few more differences in behavior in VS2005 . Does anyone have any pointer ...Show All

  • Visual C# Cost for Moving controls from one form to another

    My project used some third party code for docking control. I need to close all the opened documents when I changed the document style. For me, it is very expensive to do close->open. I wonder if I can move all the control (mainly an OpenGL rendered control) from the form to a new created form with the right style. I want to know if there is a better way. Thanks. I hope I understand what you are talking. You are talking about moving one control to the other form in design mode , right May be you can consider writing macro in the visual studio environment to help you easy your task. Or you can try some other 3rd party productivity tools like MZTools. ...Show All

  • Visual Studio Express Editions Date manipulation

    I have been trying to find a way to manipulate dates. I am aware of the DateDiff and the DateAdd functions, but what I need to do is subtract X amount of days from a date to give me another date. For example a report I am creating is going to show the past 15 days of progress. I know what the current day is of course with the simple Date.Today, but I have no idea what the date was 15 days earlier. Is there some function that I have been unable to find that will allow me to do a DateSubtract and let me find the date X amount of days prior I am using Visual Studio 2005 Pro and am coding in Visual Basic. dern it......also banging my head..... this helped me......the answer....not the head banging ...Show All

  • Visual C++ Microsoft Visual C++ Runtime Library Runtime Error

    I am running Windows XP Professional SP2, I downloaded a program in a zip, after unpacking it to the Desktop or folder, just when it starts to check for space and run me thry setup I get a runtime error which says; Program: C:\WINDOWS\system32\msiexec.exe The Application has requested the runtime to terminate it in a unusual way. Please contact the application's support team for more information. The is off topic for these forums, use the newsgroups at http://msdn.microsoft.com/newsgroups as these forums are for VC++ dev issues. OTP Thanks, Ayman Shoukry VC++ Team ...Show All

  • SQL Server Reporting Service vs UDM

    I am new to both technologies and would has been reading UDM on how to create a cube. My orginal intention is to create cubes for efficient retrieval of data which ends up in reports managment in an application. Can anyone elaborates on how the reporting service differs from UDM ( or what reporting services are )I thought they are mutually exclusive Thanks. Regards Alu I know that alot time decision to use SSRS with or without SSAS(UDM) and vice -versa depends on customer requirements. But generally speaking is there a general guidline on when to favour SSRS without/with SSAS and vice-versa Thanks. Regards Alu. ...Show All

  • Visual C++ How to replace the MFC icon at mainframe with a custon icon

    Hi, I'd like to know how to change the MFC default icon with a custom one in the mainframe of a MFC program, as well, the icon in the exe file name. Please help. Thanks. Jason Zhang Edit both versions of icon. Windows decides what version to select, when it needs to show icon in title bar od Windows Explorer. ...Show All

  • .NET Development Recommended materials: Explicit transaction using CommitableTransaction extending Transaction

    Hello, I have 2 different class.Each of them inserts 1 Row in 2 different Tables in my DataBase. Means Class 1 inserts 1 Row in Table 1, and class 2 inserts a row in Table 2. Now I want both of the queries must be fired. If single query is failed to insert row there should not be the effect of other. So I need to User Transaction with my Connection Object. But how to Use it when my Both classes are Different. And I can not mix both queries into one class as per the structrural design of my Application Thank U..... Logic in multiple classes could participated in a single transaction if all of them using same, previously openned, connection to the database. You need to pass connection as a pa ...Show All

  • SQL Server table items custom sort

    hello i am currently trying to port a "Business Objects" report to SQL Server Reporting Services. in B.O., there is a possibility to define the order of the table values by previewing the table values and moving them up or down. Example : the dataset contains data for 3 items, so in the Custom Sort window, I will see these 3 items and I can order them by moving them up or down in a listbox. is this possible to do in Reporting Services that is a solution, however what bothers me is that the person who will modify the reports will need to have SQL programming knowledge. it would have been cleaner to be able to modify this at report layout level. ...Show All

  • SQL Server variables as column names?

    I am using SQL Server 2005 and I'm creating a stored procedure that, in turn, creates some tables. The column namen in those tables will change depending on the input the user gives the stored procedure. I am having trouble getting the column names to be dynamic, however. Is this even possible If so, any tips Here is a small example (that doesn't work) of what I'm trying to do: DECLARE @ColName varchar(25) SET @ColName = 'Column1' select foo as @ColName from bar If it helps there's some info in this thread regarding the creation of tables that contain dynamically-named columns: http://forums.microsoft.com/TechNet/ShowPost.aspx PostID=1288163&SiteID=17 Chris ...Show All

©2008 Software Development Network