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

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

Imran_Akram

Member List

Jason D. Camp
PsychUK
Samoyed
vannielou
Tharindu Dhaneenja
Reid Williams
Humaneast
Jose A. M.
sirmmo
nattylife
MartinMalek
jakub78
chas2003
Gabriel Lozano-Moran
Molon Labe
LandLord323
setuc
Kaos
R8VI
Wahl04
Only Title

Imran_Akram's Q&A profile

  • SQL Server Dates in Reporting Services

    hey all set up Visual Studio 2005 SQL Server Express / Reporting Services four fields State date Start time Finish Date Finish Time I need to take one away from the other - can someone please help me Is it better to keep these in separate fields or to combine and subtract Is there anything special I need to know with subtracting time I am reasonably newbie still so would appreciate any help thanks I am using the visual side in Reporting services - Data - Layout - Preview. thanks Jewel To come up with Time Taken in this case, I would probably combine your start date and time into one variable, then combine your end date and time into another variable and perform you ...Show All

  • .NET Development XML - either ListBox or Array List

    I am writing in C# for a pocketpc application, but I think I might be better off in this neck of the woods for this part of my question.   I am writing a little program to help me figure out isotope decay on certain isotopes.  I have used the "QuickTutorials" as my guide.   Everything is displaying as it should right now, but I'm getting into a bind with the actual decay times/factors (data4 and data5 fields).  For each data4 and data5 fields, I have about 35 sets of data.  For example:  data4                                 &nb ...Show All

  • Visual Basic in my application i have prepared a mail compose form and in the sent button

    in my application i have prepared a mail compose form and in the sent button i am using the following function for smtp sending mail Public Sub SendEmailMessage( ByVal strFrom As String , ByVal strTo() _ As String , ByVal strSubject _ As String , ByVal strMessage _ As String , ByVal fileList As String ) 'This procedure takes string array parameters for multiple recipients and files Try For Each item As String In strTo If item <> "" Then 'For each to address create a mail message Dim MailMsg As New MailMessage( New MailAddress(strFrom.Trim()), New MailAddress(item)) 'MailMsg.BodyEncoding = Encoding.Default MailMsg.Subject = st ...Show All

  • SQL Server Problem in trigger

    hiii i am creating a trigger for insert ona table in .net and in that trigger i want that send a mail thrugh that trigger, and when i insert a record in that table in sql 2005 then the error comes this , plz tell me solution for this (14 row(s) affected) Msg 6522, Level 16, State 1, Procedure CalculateResult, Line 1 A .NET Framework error occurred during execution of user defined routine or aggregate 'CalculateResult': System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. System.Security.SecurityException: at System.Data.SqlServer.Internal.ClrLevelContext.get_WindowsIden ...Show All

  • Visual Basic Help removing menu item.

    I have code that scans a config file and when it finds a certin line it adds a new drop down menu item to File --> Configure --> "New Item Added" For example in the config I have a line that equals: Test = "Sample1" When the program loads and find the line with Test = "Sample1" it will add that item to the drop down menu under File --> Configure --> Sample1 this works perfectly. Now I also have an option to delete this item out of the config file and I am trying to get it to remove from the drop down menu. When you click the delete option you get a dialog box with a drop down that lists the items you can delete from the drop down menu that were loaded from the config file. When you select the item ...Show All

  • Visual Studio Team System I can't find the Clean Build policy in the Checkin Policy

    Hi I'm using MSF Agile and I can't fins the Cleab Build policy to set in the checking Thanks in advance Javier The clean build policy functionality was rolled into the code analysis policy some time after Beta 2. so if you enable that one, you should get what you're looking for. For quick reference, here's a walkthrough for enabling policies in team projects: http://msdn2.microsoft.com/en-us/library/ms242920.aspx ...Show All

  • Visual Studio Express Editions Problems making a LabelArray

    Hello all, I'm having trouble making a LabelArray in VB 2005 Express Edition. First of all, I can't find an Index property when I look at the label properties. Secondly I can't use the same name on different labels. It for use in a loop: For i As Long = 1 To 4 Label(i).Text = TextBox1.Text Next i or something like that. I need a LabelArray, but how to make it in VB 2005 Express Thanks so far. If I understand it correctly there are 2 ways to achieve this. Atm I like the second solution (with M.Controls) best, as I can use the VB enviroment to add the controls visually. I came across 1 other problem though. I also want to apply this for a series of ComboBoxes. They are all on 1 form and have all to be filled ...Show All

  • Software Development for Windows Vista How to send SMS to mobile from WorkFlow?

    Dear all, I need to send automatic SMS(any country) to the customers(bank) once each task is completed in the WF.How can i achieve this Which is the best way to do this Invoking the webservice or is there any activity like we using SendEmailActivity(for sending mails) or is there any other way If so..please guide me to do this providing some code snippets too. Waiting for your valuable inputs, Thanks in advance, Sunath One more thing I forgot to say - as a design choice it would be better if you have this code within a custom activity rather than in a code activity. You can then share that activity with other workflows in your application, or create designers for it, and visually model it. A code activity by itself d ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Asynchrous streaming of all resources

    Hi everybody! I would like to load a really really huge world inside my game, but since it's not something procedual it would take quite a lot of memory, so i would like to be able to stream it from my disc by chunks (i don't want popping) but i don't know how to do this. Can somebody enlight me on that subject With the current XNA Content manager, that'll be hard, because the content manager doesn't release data after it's loaded. You have to unload everything in the manager to reclaim memory. Perhaps you could chunk you data into tiles, and use one content manager per tile, although this will lead to in-memory duplication of textures, meshes and effects that are re-used between tiles. In general, streaming isn't particularly har ...Show All

  • SQL Server Annualizing Measures

    In the financial services world, a common requirement is to annualized a value. We've made several attempts at this. The challenge comes when using a standard Date hierarchy (Year, Quarter, Month, Date). We need to annualized a measure based on a running total of the last 6 months. We also need to take into account the early dates of the warehouse where X Months might not be available by multiplying the aggregate it by Y divided by the count of non-empty members. This seems to work for this part of the problem: Create Member CurrentCube.[Measures].[Rolling 6m Contribution] AS Case When COUNT(LASTPERIODS(6, [Date].[Month].CurrentMember), EXCLUDEEMPTY) + 1 < 6 Then Aggregate(LASTPERIODS ( 6, [Date].[Month].CurrentMember),[Me ...Show All

  • Visual Basic A background process to detect user activity / How to get VB.NET to use a C# class?

    Hello all, I have a multi-form application that is running fine, but now I would like to add code that would revert the application to its startup form if there is no user activity (mouse or keyboard). I have 27 forms in my application, and instead of going into each form indiviudually and adding a timer, I was wondering if there were a method to simply have a separate application (or hidden form in the same application) that would detect mouse and keyboard activity running in the background much like the method that your Windows screen saver uses to detect whether there is activity or not before showing the screen saver. I have looked into keyboard and mouse hooks but ran into a dead end; if I understand the documentation directl ...Show All

  • Software Development for Windows Vista XPS native printers

    Hi, just a quick question to all you XPS experts out there; Does anyone know of a company that already announced printer devices that will print XPS natively And by that I don't mean 'paid lip-service to the format', but really announced an actual product regards, nixps Hej Nick, do you have already checked out that page from Software Imaging (http://softwareimaging.com) though I'm not sure if it's that what you're looking for... (c; regards, Jo edit: ah.... I saw you're looking for printer-devices and not drivers...sorry, I should really stop working now...hehe (c; ...Show All

  • Visual Studio Express Editions Builder application

    I didnt really knew how to call the topic so ill try explain more.. I want to know how to make a builder...dont get it ...its like i got a builder that will build some program to the user needs...its like a installer kinda.. he can chose to add or not add features that the programmer made he can edit text and other stuff and in end he makes a .exe out of it with all the stuff he wanted and how he wanted ofcurse from the stuff that the programmer made to chose.. i dont ask how to totally make one i ask how can i make the .exe of w/e the builder should build. thx ahead. Start by finding out how the Big Boyz did it. The Unix/Linux build utility is called make.exe and runs from a "makefile". MSFT' ...Show All

  • Visual Studio Express Editions how can i add gradient color to a usercontrol and or panel backcolor from my.settings

    Hi i'm new to programing. I would like to know how i can add gradient colors to a usercontrol and on a panel. i woul like to select the colors from the my.settings.topcolor and mysetings.bottomcolor. ahmedilyas helped me to set the forms back gradient color. how can i set the back color on a panel and usercontrol. see sample code below for the form gradient background color. i would like to instead of specifying the colors blue and white i would select them from the my.setting Protected overrides sub OnPaint(ByVal e as PaintEventArgs) Dim theBackground as System.Drawing.Drawing2D.LinearGradientBrush theBackground = new System.Drawing.Drawing2D.LinearGradientBrush(new Point(0, 0), new point(0, ClientSize.Height ...Show All

  • SQL Server After laptop goes into standby, SQLEXPRESS won't start

    If my laptop goes into standby with the MSSQL$SQLEXPRESS service running, the service will not start again. I get the following error messages in my log: 2006-03-06 20:49:08.45 Server This instance of SQL Server last reported using a process ID of 1764 at 3/6/2006 1:48:21 PM (local) 3/6/2006 9:48:21 PM (UTC). This is an informational message only; no user action is required. 2006-03-06 20:49:08.45 Server Error: 17053, Severity: 16, State: 1. 2006-03-06 20:49:08.45 Server UpdateUptimeRegKey: Operating system error 5(Access is denied.) encountered. 2006-03-06 20:49:08.45 Server Registry startup parameters: 2006-03-06 20:49:08.45 Server -d c:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\master.mdf 2006-03-06 20:4 ...Show All

©2008 Software Development Network