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

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

bakyelli

Member List

Andy Brooker
paso
Hokgiarto
Beast Forever
Rraj
AnaC
Scott Boyd
Craig G
Suryakant Verma
pdurbha
Jebrew
Davids Learning
7dust
lalook
Benny Tops
Pinguino Girl
DeadlyEvilRyu
NoEgo
John Oliver (UK)MSP, VSIP
Alastair Q
Only Title

bakyelli's Q&A profile

  • Visual C# Urgent help

    i have created a windows form as main form. I also created another form as close confirmation dialog. So when i click on the close button which locates on the top right corner of my main form, it should display the close confirmation dialog. And there are two buttons on the confirmation dialog, "yes" and "no". Then click "yes", exit the whole application, or click"no", only close the confirmation dialog and focus back to the main form. However, when i click "no", it close (or may just hide) both of the forms, but not exit the whole application, which means the application is still running, but i couldn't see it. why's that I also created a menuitem called "exit", when click o ...Show All

  • Windows Forms Help on working with services

    Hi, I would really appreciate if someone can enlight me with this matter. I have never developed a service, suddenly I needed to have one of my processes running as a service, this process is quite complex since it download files from several servers, read the files, manipulate contents, insert the content into a database, create logs of every movement, etc. I tried to convert my project (which is an exe file with a dll dependency file) into a service with the exact code of my exe file, it looked ok now but it seems to work unpredictably and erratically, the manual process never have any problem so far. My question is if the service model has limitations against a manual process, like connections to other servers, database connection, depe ...Show All

  • Visual Studio 2008 (Pre-release) property initializers and immutable classes

    The way property initalizers are now implemented, it is not possible to create classes that are immuatble that also support property initialization. Id like to propose the use of the readonly keyword on properties, which makes the setter accessible only at initialization time, and that readonly fields should also be accessible during initialization time. If the class implements ISupportInitialize (or something like it), then BeginInit/EndInit methods would be wrapped around the initialization. Consider this: class Foo : ISupportInitialize { private int _bar; public readonly int Bar { get { return this._bar; } set { this._bar = value; } } } Foo foo = new Foo { Bar = 12; } would get tra ...Show All

  • Windows Live Developer Forums Still not working

    We are getting this error since saturday night: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: signature check failed Our client is linux/axis. Anybody else seeing that # We will Automate importing the ssl certificate for the MSN adcenter using standard linux tools # First Use openssl to grab the certificate chain. Use perl to pick out the second certificate. echo '' | openssl s_client -showcerts -host adcenterapi.microsoft.com -port 443 | perl -e '$n=0;hile(<>){$line=$_;if($line=~/^-----(BEGIN|END) CERTIFICATE-----$/){if($n==3){print $line;}$n++;}f($n==3){print $line}}' > /tmp/m ...Show All

  • .NET Development Treeview - ExpandDepth - SelectedNodeStyle

    In treeview, have ExpandDepth="2" so the 3rd level/depth doesn't show in the menu. I also have the SelectedNodeStyle set to bold. My problem is that when i click on an item deeper than the 2nd depth, the SelectedNodeStyle doesn't stay bold because it is no longer the selected node, it becomes the parent of the child node. What i need is the PARENT node to remain bold because the child node isn't displayed in the menu. get it any help here Scott The forums at http://forums.asp.net are better able answer Web UI questions. Thanks. ...Show All

  • SQL Server Question about stored procedure

    I have a stored procedure call procedure_1 which get a argument and display one record of result only. I want to write a SQL statment to join the procedure's result with other tables, but it is fail. How to do that Thank you very much! Wai: I would suggest converting your stored procedure into an inline function or perhaps a table function. You will then be able to join your table to other tables and views. A second alternative is to (1) create a temporary table and then insert the values of the stored procedure into the temp table and join to the temp table; however, my first choice would be to convert the stored procedure into a function. Dave ...Show All

  • Gadgets How to make transparent background clickable?

    There are some transparent areas in my gadget background, because my boss think it's cool... which treat me crazy, becasue all transparent areas are not clickable, and when i move mouse from non-transparent area into transparent area, event onmouseout is fired. Is there any method can make it clickable and not fired onmoustout Unfortunately not. You've got two choices: 1. Tell the boss it can't be transparent 2. Within the onmouseout event code, check the event.screenX / event.screenY to see if they've actually left the bounding area of the Gadget - which can be found from window.screenLeft and window.screenTop The problem with option 2 is (I suspect) the event won't fire when the mouse does actually leave the Gadget, as technical ...Show All

  • .NET Development How to check if a column exists in a datareader

    I'm up against this problem for which I'm surprised to find no help. I want to check if a column exists in the datareader before attempting to read it. If i don't check i get the indexOutofRange exception. There is similar functionality with datatable where we do dt.Columns.IndexOf("ColName") But how do we do this with datareader Dave, Believe it or not. I was doing the exact same thing when i saw your post. It's ugly alright, but gets the job done. But....do you think it might have performance issues My hunch is that it still is better than looping through all column names from GetSchemaTable. Also, do you think someone at MS just forgot to put that in or is it that darned d ...Show All

  • Visual Basic Listview remove multiple items

    I everyone... i've got this code to remove all selected items in a listview... but i like to know if there is any more simple code to do this ... My code: Dim i As Integer With frmMain.FeedsList For i = 0 To .Items.Count - 1 Try If .Items(i).Selected = True Then .Items.RemoveAt(i) i = i - 1 End If Catch End Try Next End With Thanks "Dont take this the wrong way, but you need to do a little experimenting and background reading on information being provided - and not expect us to spoon feed you with the exact answer for you exact piece of code you are writing." I appreciate u'r comment, and belive that before i post ...Show All

  • Software Development for Windows Vista Workflow Persistence, Idle Workflows and External Events

    I've been doing some thinking about how the default workflow persistence services work and how it affects those of us writing complex event-activities (i.e. IEventActivity implementations), and I was curious about something. I was reading Paul Andrew's comment on how the default workflow persistence service will only load persisted workflows that are "ready to run", and how it worked with locking when multiple runtime instances across a farm were using the same persistence database (all very informative stuff). However, what I'm not quite clear on yet is what the "readiness to run" of a persisted workflow is determined. Could someone expand on this a little bit Here's what I'm trying to find out: For example, if an act ...Show All

  • Visual C++ Wow i am suprised i cant find this....

    I searched google i searched here and i searched mIrc and no one seems to know how to do this, they tell me to use a difrent compiler but i love microsoft and could not do that. I am sure you guys probably covered it some where but i can't find it so here goes. I use visual studio 2005 standard edition. I recently finished learning the core language of c++ and am moving on to implement that knowledge with win api in which i am trying to learn now. I am using this tutorial to learn win api http://members.fortunecity.com/harrycik/files/Forgers.htm. Obviously i cant use the old new >> console application >> empty project because it doesn't work, i tryed new >> win 32 project >> pre-compiled header and empty project but ...Show All

  • .NET Development for(<%=n=2%>;<%=n%><=7;<%=n%>++) , how to make it works

    i have array of variables groups in server <% groups(); var n; %> // client side java script <script...... for(<%=n=2%>;<%=n%><=7;<%=n%>++) { window.alert('<%=groups %>'); } it is not working and ifi try window.alert('<%=groups[5]%>'); (no server ref varible in groups[ ], simple integer its working ----------------------- if i do like this <% groups(); %> <scriptt............. var i; var n; for(i=2;i<=7;i++) { window.alert('<%=groups %>'); } i is not recognized by server and it works properly with window.alert('<%=groups[5]%>'); any ideas ranu H ...Show All

  • Smart Device Development deploy pocket pc program

    i can not build or deploy my program!!! my file gives a Hello World in a client rectangle. As you can see it compiles as a win32. ------ Rebuild All started: Project: dddd, Configuration: Release Win32 ------ Deleting intermediate and output files for project 'dddd' , configuration 'Release|Win32' Compiling... stdafx.cpp Compiling... davidtwo.cpp dddd.cpp Compiling resources... Linking... Generating code Finished generating code Embedding manifest... Build log was saved at "file://c:\Documents and Settings\Owner\My Documents\Visual Studio 2005\Projects\dddd\dddd\Release\BuildLog.htm" dddd - 0 error(s), 0 warning(s) ========== Rebuild All: 1 succeeded, 0 failed, 0 ski ...Show All

  • Visual Basic Accessing Data in Dataset

    I am new to Visual Basic. I am trying to create a SQL Select in Visual Basic 2005. The code I have so far is: Dim conn As New SqlConnection ("Server=.\SQLEXPRESS;Database=inv_sys;Trusted_Connection=True;") Dim ds As New DataSet conn.Open() Dim adp As New SqlDataAdapter("Select Max(idx_holding) from tbl_holding", conn) adp.Fill(ds) conn.Close() How do I get the information out of the dataset. In this case it should be a single value but in other case I need to get mutliple records. Any example would be appreciated. Thanks in Advance Thanks Ibrahim Y That is exactly what I was after. I have search on the internet and via numerous Visual Basic book ...Show All

  • Smart Device Development PROBLEM : Connection to emulator device using Microsoft Loopback adapter !

    Hi, I'm trying to get a solution for the following problem : I'm developing an application where I have to send data to an emulator (or an PDA connected to a desktop pc) using XML-RPC. To use this, I need the emulator to have an IP-address. I searched on the internet and found something about the Microsoft Loopback adapter. So installed and configured the adapter using the following configuration : - IP address : 192.168.1.1 - Subnet mask : 255.255.255.0 - Gateway : no - DNS : no This seems to work without any problems, I can see I have 2 connections running (my internet and the one using loopback adapter) To configure VS.NET 2005 I did the following thing : - select TCP-IP Transport (instead of DMA-transport) as the em ...Show All

©2008 Software Development Network