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

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

warning9

Member List

Kenny1815
comiv
Geert Mys
fleo
ZackL
daydreamsy2k
caltex
bella01
El Masidy
-M-
AdamB78
paulday
Elias Carlston
MarkoK
Pranjal Singh
Hans1982
Stephanie L
igor_22
Bill_Henning
Cute_Celina
Only Title

warning9's Q&A profile

  • .NET Development Sending Email using System.net.mail

    hi everyone, I have trouble to send email using system.net.mail in ASP.NET 2.0 with VB here is my code.... any body tell me what is going wrong with the code. Code for SendEmail.vb Imports Microsoft.VisualBasic Imports System.Net.Mail Public Class SendEmail Public Sub SendEmailMessage( ByVal fromMail As String , ByVal toMail _ As String , ByVal subjectMail As String , ByVal messageMail As String ) 'This procedure takes four string parameters for sending the mail Try 'address create a mail message Dim MailMsg As New MailMessage( New MailAddress(fromMail.Trim()), New MailAddress(toMail)) MailMsg.BodyEncoding = Encoding.Default MailMsg.Subject = subjectMai ...Show All

  • SQL Server Time dimension limits kills performance

    Hi, I have a cube with a fiscal time dimension like that: Year = 2005, 2006, 2007 Quarter = 20051, 20052, 20053 Then months and weeks using format like 200501, 200502 etc. Cube is partitioned by quarters, 12 partitions in total. Now what puzzles me is this: - When I query this from an Excel pivot and set no limit on the time dimension so I get something like total 2005, 2006 by quarters and 2007 by weeks, the query processes in a few miliseconds - When I query this from an Excel pivot and exclude something from the time dimension so I would get only 2006 and 2007, the query now takes up to 30 minutes. The code generated by Excel is much different between the 2 situations however, since the cube is partitioned by ...Show All

  • Visual Studio 2008 (Pre-release) Problem regarding Serialization of Attribute

    hi friends, I want to serialize data type named Paragraph of System.Windows.Documents namespace and for this purpose I have written the following code in the application : [DataContract(Namespace = "ServerFileUpload")] public class mypara { public Paragraph para; public mypara() { para = null; } [DataMember(Name = "Para", Order = 0)] public Paragraph Para { get { return para; } set { para = value; } } } But when I initialize an object of mypara class to use the property Para then the error message is generated suggesting that the "System.Windows.Documents.Paragraph" is not serialized and try to make it serialized it using DataMember attribute which is defined under a Data Contract Attribute. ...Show All

  • SQL Server using text file data in a SQL Task

    I have some fields in text file that I want to use in a SQL Task. What is the best way to read these fields and then plug them into the SQL Task Thanks Aref Can you explain this a bit more Perhaps show us what the text file looks like What will the SQL statement be that you want to use -Jamie ...Show All

  • Visual Studio VS 2005 - can't float code nor design windows!!!?

    I'm getting pretty sick of tabbing back and forth, especially when I have a 3 monitor setup with plenty of screen space to display my aspx form/design on one monitor and .vb code on the other monitor. One truely time saving feature doesn't make it into VS 2005 ! Come on Redmond, this is IDE basics 101 -- I can float my solution explorer but I can't float my code window nor my design window -- freakin' brilliant. Someone needs to let the MS design team out of the vacuum they seem to live in - hello, planet earth, useful features please. Argh, just more frustration with an already horrible dev tool. Rob. thanks Luke, I explored that option, but not really a good solution for me as that would ...Show All

  • Windows Forms Night Vision

    I am working on a military application that needs to support a "night vision" mode - that is, make the application appear in a green scale color pallet to make it easier on the eyes in reduced lighting. Now, I know I can take an approach that will "skin" or "theme" my application to make it appear green (our GUI COTS product Infragistics NetAdvantage makes this possible), but it still isn't a 100% solution because we would need to re-do all of our images/icons that we use in the app to a green scale version, and then code the functionality to change the images at runtime when needed. Further, because we display maps and map information, there isn't an easy way to change all of the maps into a green scale. Havi ...Show All

  • Visual C++ CScrollbar Question

    I'm trying to find out where the scroll box is while it's being dragged. When I do a TRACE() using GetScrollPos() it returns the starting position. How do I get ahold of the position while I'm scrolling The problem is that nPos in OnVScroll is a 16bit value. If you scroll positions are larger than you can't rely on the argument. You need to use GetScrollbarInfo, with this function you can get the true 32bit position of the scrollbar! ...Show All

  • Visual C# Else if statment

    Here is some of my code, I get 2 errors, how would i fix it [code]#pragma warning disable if (lcarrier.Text == "Altell") ; { endadd.Text == "@message.alltel.com"; } else if (lcarrier.Text == "AT&T"); { endadd.Text == ("@mmode.com"); }[/code] My 2 errors are ...... _ Invalid term else and ; expected ahmedilyas wrote: ok but re-read -....i was trying to make it all same case so its not case sensitive.... Indeed - by lowercasing every string! The last parameter of String.Compare() being "true" tells it to ignore case. Much MUCH faster than lowercasing and returning a new copy of each string ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Missile CommandeEr Game (including Source) - XNA 1.0 Release

    First XNA game...done!  It's an old school missile commander clone (only its CommandeEr, like pirates...ARRRR!!!).  I spent extra time to maintain the original "cutting edge" graphics to make it a true classic.  Check it out... (I just added the screenshots, game and source code to my website) Click here for the game    Improvements to come: - MIRV missiles - Extra lives - High scores - suggestions Nice update, I especially like the MIRVs. I haven't played it much but my top score is 16440 on level 18. I'm pretty sure that other people have done way better :) I think the score penalty for hitting destroyed cities should be raised again. The problem that I f ...Show All

  • Smart Device Development Upgrade from PocketPC 2003 to Windows Mobile 5.0 PocketPC on a Samsung i730?

    Hi All. I've dug around, but I can't find anywhere that lets me know if I can upgrade from PocketPC 2003 to Windows Mobile 5.0 PocketPC on my Verizon Samsung i730 (or if the upgrade from one to the other is even offered). Thanks for any help in advance. Landen This forum is smart device development related. Since your question is not related to smart device development, it's off topic here. If you’re having a hardware issue, please contact hardware manufacturer or reseller. If you having an issue with 3rd party software, please contact respective software manufacturer or reseller. Otherwise please post to relevant forum or news group: http://support.microsoft.com/newsgroups/default.aspx Closing as off topic ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XACT pitch bug

    I got the following error message when I was adjusting the pitch on an in game sound while it was looping within XACT. The entire XACT console crashed after this; not sure if this has been reported before but I figured I'd let you guys know about it. ------------- Begin Dump Exception ------------- Exception Type: System.NullReferenceException Source: System.Data Message: Object reference not set to an instance of an object. Clickable StackTrace: (Unknown Source Location): System.Data.DataColumnPropertyDescriptor.GetValue(Object component) (Unknown Source Location): System.Windows.Forms.DataGridColumnStyle.GetColumnValueAtRow(CurrencyManager source, Int32 rowNum) (Unknown Source Location): System.Windows.Forms.DataGridTextBoxCo ...Show All

  • Visual Studio Team System How many scenarios I should write to start the first iteration

    hi How many scenarios should write the bussiness analyst before to start the first iteration Thanks in advance Javier Hi But when I'm writing scenarios they aren't estimated, how can I know that they are enoughto keep the programming team busy for the whole iteration Thanks Javier ...Show All

  • .NET Development .NET TCP/IP

    can someone please show me how me to create a very simple tcplistener app and tcpclient app here's my sample code on TCP Listener: Imports System.Net.Sockets Imports System.Net Imports System.Threading Public Class Form1 Dim server As TcpListener Delegate Sub DelegateServer() Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim thdServer As New Thread(AddressOf ServerStart) thdServer.Start() End Sub Sub ServerStart() If server Is Nothing Then server = New TcpListener(IPAddress.Any, 3030) server.Start() End If RunServer() End Sub Sub RunServer() Dim done As Boolean = False Dim client As New TcpClient() W ...Show All

  • Visual C++ Deleting a node from a linked list

    hello people. i have a linked list. and i hav a address of only one node . and i want to delete that node.. to my best of my knowledge its impossible.. but still i wanted to confirm .. is there any way to do that. . one way to do that is swap the data part to the next link.. when this data comes to the last node then delete that node.. . apart from this any other way... plz help manish >> i have a address of only one node What if it already points to the last node ...Show All

  • Visual Studio How to trace 'rollback' by 'hostory' comand

    I tried to monitor the changes of DB by 'history' command with a certain date. Then will update the changes to client by program. It can monitor 'checkin' and 'add', but not 'rollback' How to monitor it ...Show All

©2008 Software Development Network